Hi I discover the following issue: after installing clamav-daemon on Lenny, I start scanning file and directories to test the clamdscan utility and I found when scannig private directory (the clamd daemon is running as different unpriv user) the command is reporting "misleading" result according to me. What happen is clamd report an error and no scan happen, but clamdscan report no virus find (but no scan had ever happened).
Example: drwxr-x--- 3 roby roby 4096 2009-10-17 11:55 noaccess $ clamdscan noaccess /home/roby/noaccess: lstat() failed: Permission denied. ERROR ----------- SCAN SUMMARY ----------- Infected files: 0 Time: 0.009 sec (0 m 0 s) r...@fmgw01:~$ echo $? 0 r...@fmgw01:~$ clamdscan -V ClamAV 0.95.2/9908/Sat Oct 17 11:07:01 2009 r...@fmgw01:~$ ================================================= what I consider "misleading" is the error code "$?" returned to the shell (some program like qmailscan could be thinking all is fine - but actually no scan happened) and "Infected files: 0". I understand I can use the clamdscan option "--fdpass" but this is not the default behaviour, so I wondering what is the reason of not reporting the error to the caller ? thank in advance, Roberto _______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml