Thanks. I'm running clamscan from cron to scan the samba shares on my server. I'm running it like this

/usr/local/bin/clamscan -r -i --stdout /samba_share > /var/log/clamav-scan.log

I'm using redirection to try to log the names of files that ClamAntiVirus thinks are infected so that I can do something about them later.

You mentioned using -l could cause potential destruction. Destruction to the log file or something else?

Sid


[EMAIL PROTECTED] wrote:
On Thu, Jan 30, 2003 at 01:20:09PM -0600, Sid Keller wrote:

I know that this is probably a dumb question, but I need to satisfy my
boss about this.  Is there a possibility of corrupting files that are
scanned using Clam AntiVirus or any virus scanner for that matter?  I


clamscan (and clamd) scans all files in read-only mode. Potential
destruction is possible, when clamscan is called with --remove
or -l (the log file is opened in append mode).

Best regards,
Tomasz Kojm



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]




Reply via email to