Commit 072ac6bd authored by Axel ROGER's avatar Axel ROGER

Fixes #1460

parent 87374617
......@@ -45,7 +45,7 @@ LogFormat="%host %other %logname %time1 %methodurl %code %bytesd %refererquot %u
EOF
fi
chown alterncpanel:root $LOGAPACHE
chmod 640 $LOGAPACHE
chmod 644 $LOGAPACHE
fi
if [ -x /usr/sbin/apache-ssl ]; then
......@@ -68,11 +68,12 @@ EOF
chmod 640 /etc/alternc/awstats.htpasswd
chmod 755 /etc/awstats
mkdir -p /var/cache/awstats
chown alterncpanel:root /var/cache/awstats
chown alterncpanel:www-data /var/cache/awstats
chmod 770 /var/cache/awstats
# Update rights on previous user's awstats configuration files
chown alterncpanel:root /etc/awstats/awstats.*.conf > /dev/null 2>&1
chown alterncpanel:alterncpanel /var/cache/awstats/* > /dev/null 2>&1
chmod 644 /etc/awstats/awstats.log.alternc.conf
# ADD menu item :
if ! grep -q "^menu_aws.php$" "$MENUFILE"; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment