Are you running clamd as root or as a non-privileged user? Is the directory containing the file readable by that user? /root is normally only readable by root.
The solution, if you're running clamd as a non-privileged user, is to put the files into a directory that the clamd user can read and scan them from there.
Hi John,
that's got it sorted, turned out to be a bit of a comedy of errors. I edited the /etc/clamav.conf file and changed the User to qscand but that didn't fix it when I was testing on the command line. Turned out that's because the file must be specified by it's full path so that clamd can find it.
Thanks for the info, I think I'm sorted now.
Cheers
P. -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
