Chris wrote:
> On Thu, 2009-03-05 at 20:33 -0600, Brandon Perry wrote:
>> Make sure clamd has permission to read the file :-)
>>
> 
> -rwxr-xr-x 1 root root 228068 2009-03-05 17:42 /usr/local/bin/clamdscan*
> 
> Odd clamscan works fine:
> 
> -rwxr-xr-x 1 root root 131462 2009-03-05 17:42 /usr/local/bin/clamscan*
> 
> so why doesn't clamdscan work or am I missing something here?

Like Brandon said, make sure the clamdscan has permissions to read the
file.  That's because clamdscan (and clamd) run as whatever user you've
defined in your clamd.conf file.  OTH, clamscan runs with whatever
permissions you have.  If you are logged on as root, than clamscan will
run as root and can read any file.

Bill
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

Reply via email to