Hi!
I'm running apache2 on Ubuntu Server 10.04.

Looking at "/etc/cron.d/awstats" I can see that awstats runs as "www-data":
# cat /etc/cron.d/awstats 
0,10,20,30,40,50 * * * * www-data [ -x /usr/lib/cgi-bin/awstats.pl -a -f 
/etc/awstats/awstats.conf -a -r /var/log/apache2/access.log ] && 
/usr/lib/cgi-bin/awstats.pl -config=awstats -update >/dev/null

But, permissions on "/var/log/apache2" are insufficient to let awstats do it's 
job:
drwxr-x---  2 root      adm   apache2  ("others" can't access to that directory)

IDEM with the "access.log" file:
-rw-r----- 1 root adm access.log ("others" can't access to that file)

One possible solution is to run the awstats cron job as "root". Other
possible solution is to change files and directories permissions. Both
with unknown security impacts.

-- 
awstats doesn't update
https://bugs.launchpad.net/bugs/184525
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to awstats in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to