Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you running clamscan as an unprivileged user? The directory /var/lib/clamav is probably owned by the clamav user and the clamav group.
On my system (Slackware), the equivalent directory (/usr/share/clamav as it happens) has rwxrwx--- permissions, so only members of the clamav group, the clamav user and root have permissions to read/write there.
As a solution, you can either run clamscan as root or add yourself to the clamav group. There may also be more or less secure ways of gaining access to that directory (chmod...).
Hmmm. Odd. It has more open permissions than mine, and yet you get a permissions error.
The only thing I've seen about this (I did a quick google of the error message) is that it's a problem with 0.90.x installations, and upgrading to a more recent version (currently at 0.92.1) might fix it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.