From 6b84a82c96f19628fb243a7736f0b05d881e34c2 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Mon, 10 Mar 2025 20:53:43 +0100 Subject: [PATCH] Update 01-folders.sh --- nextcloud/rootfs/etc/cont-init.d/01-folders.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nextcloud/rootfs/etc/cont-init.d/01-folders.sh b/nextcloud/rootfs/etc/cont-init.d/01-folders.sh index 7804a1257..0b22884eb 100755 --- a/nextcloud/rootfs/etc/cont-init.d/01-folders.sh +++ b/nextcloud/rootfs/etc/cont-init.d/01-folders.sh @@ -43,7 +43,7 @@ if [ -f /data/config/nginx/site-confs/default.conf ]; then fi mkdir -p "$datadirectory" -if [[ "$PUID" != "0" ]] && [[ "$PGID" != "0" ]]; +if [[ "$PUID" != "0" ]] && [[ "$PGID" != "0" ]]; then echo "... setting permissions" chmod 755 -R "$datadirectory" || true chown -R "$PUID:$PGID" "$datadirectory" || true