fix rights

This commit is contained in:
Jean-Christian Denis 2024-12-12 22:41:31 +01:00
parent 8bbd7bd885
commit cd2ce8f408
Signed by: JcDenis
GPG key ID: 1B5B8C5B90B6C951

View file

@ -82,6 +82,8 @@ rm -f /var/www/dotclear/servers/default.conf
# Fix www permissions
echo >&2 "Setting up permissions..."
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
VERSION_INSTALLED=$(sed -n "s/^\s*\"release_version\":\s*\"\(.*\)\",/\1/p" release.json)