From 3e1f1c6cd7d7d6bb1efc14cf8a916716161bda88 Mon Sep 17 00:00:00 2001 From: Roman Hoellen Date: Thu, 15 Mar 2018 10:55:27 +0100 Subject: [PATCH] [nextcloud] Correct ownership of symlinks --- nextcloud/rootfs/usr/local/bin/run.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/nextcloud/rootfs/usr/local/bin/run.sh b/nextcloud/rootfs/usr/local/bin/run.sh index b0e632f..673c121 100644 --- a/nextcloud/rootfs/usr/local/bin/run.sh +++ b/nextcloud/rootfs/usr/local/bin/run.sh @@ -11,6 +11,7 @@ sed -i -e "s//$APC_SHM_SIZE/g" /php/conf.d/apcu.ini \ # Put the configuration and apps into volumes ln -sf /config/config.php /nextcloud/config/config.php &>/dev/null ln -sf /apps2 /nextcloud &>/dev/null +chown -h $UID:$GID /nextcloud/config/config.php /nextcloud/apps2 # Create folder for php sessions if not exists if [ ! -d /data/session ]; then