mirror of
https://github.com/hoellen/dockerfiles.git
synced 2025-07-01 14:45:38 +00:00
nextcloud: fix #102
This commit is contained in:
@ -10,6 +10,8 @@ sed -i -e "s/<UPLOAD_MAX_SIZE>/$UPLOAD_MAX_SIZE/g" /etc/nginx/nginx.conf /etc/ph
|
||||
ln -sf /config/config.php /nextcloud/config/config.php &>/dev/null
|
||||
ln -sf /apps2 /nextcloud &>/dev/null
|
||||
|
||||
mv nextcloud fix && mv fix nextcloud # fix strange bug
|
||||
|
||||
echo "Updating permissions..."
|
||||
for dir in /nextcloud/config /data /config /apps2 /etc/nginx /etc/php7 /var/log /var/lib/nginx /var/lib/redis /tmp /etc/s6.d; do
|
||||
if $(find $dir ! -user $UID -o ! -group $GID|egrep '.' -q); then
|
||||
|
Reference in New Issue
Block a user