clean old chown command

pull/27/head
Monnier 2018-08-23 10:13:34 +02:00
parent e7a14049ff
commit 534f5db42e
1 changed files with 0 additions and 4 deletions

View File

@ -31,8 +31,6 @@ sed -i "s/<PHP_MEMORY_LIMIT>/$PHP_MEMORY_LIMIT/g" /etc/php7/php-fpm.conf
sed -i "s/<OPCACHE_MEMORY_LIMIT>/$OPCACHE_MEMORY_LIMIT/g" /etc/php7/conf.d/00_opcache.ini sed -i "s/<OPCACHE_MEMORY_LIMIT>/$OPCACHE_MEMORY_LIMIT/g" /etc/php7/conf.d/00_opcache.ini
# Set permissions # Set permissions
# chown -R $UID:$GID /flarum /services /var/log /var/lib/nginx
find /flarum ! -user $UID -print0 | xargs -0 -r chown $UID:$GID find /flarum ! -user $UID -print0 | xargs -0 -r chown $UID:$GID
find /services ! -user $UID -print0 | xargs -0 -r chown $UID:$GID find /services ! -user $UID -print0 | xargs -0 -r chown $UID:$GID
find /var/log ! -user $UID -print0 | xargs -0 -r chown $UID:$GID find /var/log ! -user $UID -print0 | xargs -0 -r chown $UID:$GID
@ -117,8 +115,6 @@ else
fi fi
# Set permissions # Set permissions
# chown -R $UID:$GID /flarum
find /flarum ! -user $UID -print0 | xargs -0 -r chown $UID:$GID find /flarum ! -user $UID -print0 | xargs -0 -r chown $UID:$GID
find /flarum ! -group $GID -print0 | xargs -0 -r chown $UID:$GID find /flarum ! -group $GID -print0 | xargs -0 -r chown $UID:$GID