From dd7bbde84d27b03e0412d462e65dcbf64f03e193 Mon Sep 17 00:00:00 2001 From: TapTap Date: Sun, 15 Nov 2026 14:40:50 +0000 Subject: [PATCH] chart: make the prepared import directory owner-writable chown alone keeps the existing mode, so a directory that was not owner-writable still failed. Apply u+rwX,g+rwX as well. --- charts/audiomanager/templates/deployment.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/charts/audiomanager/templates/deployment.yaml b/charts/audiomanager/templates/deployment.yaml index 85ca8b5..7408e19 100644 --- a/charts/audiomanager/templates/deployment.yaml +++ b/charts/audiomanager/templates/deployment.yaml @@ -35,7 +35,9 @@ spec: - -c - | dir='{{ .Values.media.music.mountPath }}/AudioManager Imports' - mkdir -p "$dir" && chown -R 10001:10001 "$dir" \ + mkdir -p "$dir" \ + && chown -R 10001:10001 "$dir" \ + && chmod -R u+rwX,g+rwX "$dir" \ || echo "AudioManager: cannot prepare $dir; check the music hostPath permissions" securityContext: runAsUser: 0