clean old chown command
parent
e7a14049ff
commit
534f5db42e
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue