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