mirror of
https://github.com/hoellen/dockerfiles.git
synced 2026-10-15 12:52:21 +00:00
[nextcloud] Correct ownership of symlinks
This commit is contained in:
1 parent
0d23dee1df
commit
3e1f1c6cd7
1 file changed
+1
@@ -11,6 +11,7 @@ sed -i -e "s/<APC_SHM_SIZE>/$APC_SHM_SIZE/g" /php/conf.d/apcu.ini \
|
|||||||
# Put the configuration and apps into volumes
|
# Put the configuration and apps into volumes
|
||||||
ln -sf /config/config.php /nextcloud/config/config.php &>/dev/null
|
ln -sf /config/config.php /nextcloud/config/config.php &>/dev/null
|
||||||
ln -sf /apps2 /nextcloud &>/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
|
# Create folder for php sessions if not exists
|
||||||
if [ ! -d /data/session ]; then
|
if [ ! -d /data/session ]; then
|
||||||
|
|||||||
Reference in new issue
Block a user