Hide Forgot
Description of problem: 1) Enable the ``update now'' button in awstats 2) click it --> you recieve a bad permission error Error: Couldn't open file "/var/lib/awstats/something How reproducible: always Actual results: FIXED with : chown -R apache:apache /var/lib/awstats/ Expected results: A default install of awstats rpm should set the right owner:group for the /var/lib/awstats/ folder
I don't think that it's good idea to have /var/lib/awstats directory writeable for apache user by default. The need of write permissions is documented in /etc/awstats/awstats.model.conf so admin can easily find out what is needed: # Warning: If you want to be able to use the "AllowToUpdateStatsFromBrowser" # feature (see later), you need "Write" permissions by web server user on this # directory (and "Modify" for Windows NTFS file systems). AllowToUpdateStatsFromBrowser is set to 0 by default so default configuration will work without write permissions. And also are other web servers than apache like lighttpd.