Thanks for the help. The issue was the user which clamd
runs as. I now run qscanq as setuid 'clamav'.

----- Steve Philson wrote: 
> I believe the temporary files unpacked by qscanq
> (actually by whatever mime unpacker you use) are
> readable only by the owner, which is whatever owner
> is set up in conf-users in the qscanq compile. Clamd,
> however, normally loses its privileges after startup
> and runs as whatever user is set in clamav.conf file
> (and I believe it is clavav by default), so even if
> you run clamdscan as a user with access to files,
> unless they are readable by the clamd user it won't
> work.  Just set the user in clamav.conf to qscan and
> it should work.


-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to