Log files permissions always changed to root
Posted: Fri Jul 19, 2013 5:56 pm
Hi,
I regularly get the following error messages for clamav
When I check the permission of the log dir:
Somehow when archiving the the fileowner get set to root and "breaks" the log files.
Anyone knows why?
I regularly get the following error messages for clamav
Code: Select all
ERROR: Problem with internal logger (UpdateLogFile = /var/log/clamav/freshclam.log).
ERROR: Can't open /var/log/clamav/freshclam.log in append mode (check permissions!).
Code: Select all
/var/log/clamav/
total 1300
-rw-r----- 1 root root 0 Jul 14 03:10 clamd.log
-rw-r----- 1 root root 20 Jun 16 03:10 clamd.log-20130623.gz
-rw-r----- 1 root root 20 Jun 23 03:10 clamd.log-20130630.gz
-rw-r--r-- 1 clamav clamav 20 Jul 6 15:00 clamd.log-20130707.gz
-rw-r----- 1 root root 20 Jul 7 03:19 clamd.log-20130714.gz
-rw-r----- 1 root root 0 Jul 14 03:10 freshclam.log
-rw-r----- 1 root root 20 Jun 16 03:10 freshclam.log-20130623.gz
-rw-r----- 1 root root 20 Jun 23 03:10 freshclam.log-20130630.gz
-rw-r----- 1 root root 523 Jul 6 14:59 freshclam.log-20130707.gz
-rw-r----- 1 root root 20 Jul 7 03:19 freshclam.log-20130714.gz
Anyone knows why?