Our website would like to use cookies to store information on your computer. You may delete and block all cookies from this site, but parts of the site will not work as a result. Find out more about how we use cookies.

Login or Register

Powered by
Powered by Novacaster
 
ClamAV
by Simon at 11:30 27/10/06 (Forum::Technical Advice::General)
Note to self: if you set up clamav according to the instructions, then /var/lib/clamav ends up with ownership clamav.clamav and permissions mask 700.

That's no bloody use at all if you ever run clamscan as an unprivileged user, because they can't see into the directory to get to the databases files and you end up with a warning:

LibClamAV Warning: **************************************************
LibClamAV Warning: *** The virus database is older than 7 days. ***
LibClamAV Warning: *** Please update it IMMEDIATELY! ***
LibClamAV Warning: **************************************************

So change the permissions on /var/lib/clamav to be 750 and put the unprivileged user into the clamav group to fix it.

--
simon

<< - ichat challenges in Kyoto >>
Printer Version