fix rights
This commit is contained in:
parent
8bbd7bd885
commit
cd2ce8f408
1 changed files with 2 additions and 0 deletions
|
@ -82,6 +82,8 @@ rm -f /var/www/dotclear/servers/default.conf
|
||||||
# Fix www permissions
|
# Fix www permissions
|
||||||
echo >&2 "Setting up permissions..."
|
echo >&2 "Setting up permissions..."
|
||||||
chown -R www:www /var/www/dotclear
|
chown -R www:www /var/www/dotclear
|
||||||
|
[ -e /var/www/dotclear/config.php ] && chmod 600 /var/www/dotclear/config.php
|
||||||
|
chmod 600 /var/www/dotclear/servers
|
||||||
|
|
||||||
# Print summary to docker logs
|
# Print summary to docker logs
|
||||||
VERSION_INSTALLED=$(sed -n "s/^\s*\"release_version\":\s*\"\(.*\)\",/\1/p" release.json)
|
VERSION_INSTALLED=$(sed -n "s/^\s*\"release_version\":\s*\"\(.*\)\",/\1/p" release.json)
|
||||||
|
|
Loading…
Reference in a new issue