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 >>
Powered by
Powered by Novacaster