On 11/26/06, Dennis Peterson <[EMAIL PROTECTED]> wrote:

Root isn't feeding files to clamd - it is feeding paths to files to
clamd. At least that is what happens here.


To have root feed files to clamd, try:
$ cat <file> | clamdscan -

You'll need the clamdscan from 0.90rc2, (or cvs) for fd-passing to work.
However you can run the clamd from stable, and have clamdscan 0.90rc2
pass it files.

[EMAIL PROTECTED]:/root# chmod 0600 jmc
[EMAIL PROTECTED]:/root# clamdscan jmc
/root/jmc: Access denied. ERROR

[EMAIL PROTECTED]:/root# cat jmc | clamdscan -
stream: Phishing.Email FOUND

Best regards,
Edwin
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html

Reply via email to