From 33ef851f7485a1b32efce54815adb4df9b884a42 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Wed, 15 Jun 2022 15:02:03 +0200 Subject: [PATCH] Update 20-folders.sh --- teamspeak/rootfs/etc/cont-init.d/20-folders.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/teamspeak/rootfs/etc/cont-init.d/20-folders.sh b/teamspeak/rootfs/etc/cont-init.d/20-folders.sh index 30e76170c..3dc44e01d 100644 --- a/teamspeak/rootfs/etc/cont-init.d/20-folders.sh +++ b/teamspeak/rootfs/etc/cont-init.d/20-folders.sh @@ -8,17 +8,17 @@ if -d /teamspeak/save; then cp -n /teamspeak/save "$LOCATION" rm -r /teamspeak/save fi - mkdir -p "$LOCATION" ln -sf "$LOCATION" /teamspeak/save -chown -R 503:503 "$LOCATION" # Data remanence for /data if -d /data; then cp -n /data "$LOCATION" rm -r /data fi - mkdir -p "$LOCATION" ln -sf "$LOCATION" /data + +# Persmissions chown -R 503:503 "$LOCATION" +chmod 777 "$LOCATION"