Tomasz Kojm <[EMAIL PROTECTED]> writes: > On Wed, Mar 19, 2003 at 04:09:22PM -0500, Dave Sill wrote: > > > > OK, I tried that on my RH 8.0, clamav-20030317, qmail-scanner-1.16 > > system and got: > > > > 19/03/2003 15:53:06:3757: --output of clamscan was: > > /var/spool/qmailscan/sws510481071864263757: Can't stat() the file ERROR > > This is a permission problem. Run clamd with a proper UID and GID (check > ls -l /var/spool/qmailscan).
So clamd needs to run as a user with access to the files to be scanned. That seems reasonable, except that means it needs to run as root in order to be able to scan any file...and that's not something I'm keen to do. I guess it'd be OK to run clamd as qmaild, the user that owns /var/spool/qmailscan. This is pretty important limitation to using clamd/clamdscan. Is it documented? -Dave --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]