From c137ef33e87ebc4154b82b4a7a8051e75af243fe Mon Sep 17 00:00:00 2001 From: Axel ROGER Date: Wed, 6 Mar 2013 09:35:50 +0000 Subject: [PATCH] Forgot to update awstats rights on previous user's configuration --- debian/alternc-awstats.postinst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/debian/alternc-awstats.postinst b/debian/alternc-awstats.postinst index d8149b48..727631ac 100755 --- a/debian/alternc-awstats.postinst +++ b/debian/alternc-awstats.postinst @@ -65,7 +65,8 @@ EOF chown alterncpanel:root /var/cache/awstats # Update rights on previous user's awstats configuration files - chown alterncpanel:alterncpanel /etc/awstats/awstats.*.conf > /dev/null 2>&1 + chown alterncpanel:root /etc/awstats/awstats.*.conf > /dev/null 2>&1 + chown alterncpanel:root /var/cache/awstats/* > /dev/null 2>&1 echo "**********************************************" echo "* ALTERNC-AWSTATS *"