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.
This commit is contained in:
1 parent
e7704c42ea
commit
dd7bbde84d
1 file changed
+3
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user