>On Mon, 18 Oct 2004 at 17:04:52 +0200, Jona Tallieu (T & T  n.v.) wrote:
>> >* Jona Tallieu (T & T  n.v.) <Junk <at> tnt.be>:
>> >> Hi all,
>> >>
>> >> I just upgraded from latest stable 0.75.1 to the final 0.80.
>> >>
>> >> Now, when freshclam starts, I get this in the freshclam logfile:
>> >>
>> >> ERROR: Can't save PID to file /var/clamav/freshclam.pid: Permission
>>denied
>> >>
>> >> The option in freshclam.conf has been disabled (default):
>> >> #PidFile /var/run/freshclam.pid
>> >
>> >The default value is being used: /var/run/freshclam.pid !=
>> >/var/clamav/freshclam.pid !
>>
>> I tried activating the save PID file with the value
>>/var/clamav/freshclam.pid
>> but I get the same error.
>>
>> Now also, after a freshclam update, I get following error
>>
>> ERROR: Clamd was NOT notified: Can't connect to clamd through
>> /var/clamav/clamd.sock
>>
>> So it seems freshclam can not access anything in /var/clamav/.
>>
>> The permissions for /var/clamav/ are:
>>
>> drw-r--r--   4 lp    lp       136 18 Oct 10:49 clamav
>>
>> And inside are:
>>
>> -rw-rw----  1 root  lp  4 18 Oct 10:39 clamd.pid
>> srwxrwxrwx  1 root  lp  0 18 Oct 10:39 clamd.sock
>>
>
>Why is /var/clamav (and files there) owned by "lp" (i.e. print) user
>and group??

I don't know why, I just followed the OSX instructions included
with ClamAV:

sudo mkdir /var/clamav 
sudo chown clamav:clamav /var/clamav 
sudo chmod 0644 /var/clamav 


It seems that chmod 755 /var/clamav solved it, I'll double
check when there's a database update...

Thanks!



J.

_______________________________________________
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users

Reply via email to