Andy Theuninck wrote: > I'm getting an error that I don't understand. Here's the brief > summary, followed by the wordier explanation: > > Brief: > $ freshclam > ERROR: Can't open /var/log/clamav/freshclam.log in append mode (check > permissions!). > ERROR: Problem with internal logger (UpdateLogFile = > /var/log/clamav/freshclam.log). > $ ps -Af | grep clamd > amavis 30448 1 0 16:00 ? 00:00:04 clamd > andy 31044 26453 0 16:12 pts/1 00:00:00 grep clamd > $ ls -l /var/log/clamav > total 20 > -rw-r--r-- 1 amavis clamav 1951 Apr 7 16:11 clamd.log > -rw-r----- 1 amavis clamav 9529 Apr 7 04:02 clamd.log.1 > -rw-r--r-- 1 amavis clamav 934 Apr 7 16:01 freshclam.log > > Explanation: > I'm running clamd as user amavis. Clamav's log files are owned by user > amavis and writeable. When I run freshclam I get an error stating > there's a permissions problem, but I don't see one. Does freshclam run > as a different user than clamd? I didn't see any option to specify > that in /etc/clamd.conf...
Freshclam runs as the user defined by the "DatabaseOwner" in your freshclam.conf file, not your clamd.conf file. Bill _______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml