On Mon, Dec 21, 2009 at 5:51 PM, Robert Wyatt <chupacerv...@gmail.com> wrote: > Lima Union wrote: > Hi Lima, > > I should let the experts answer, but I'll take a stab at it just to find out > for myself. One of the differences between clamscan and clamdscan is that > clamscan runs as the user requesting it whereas clamdscan runs as a special > user (usually clamd, I believe), which would be in a special administrative > category allowing it to read across multiple user's files. > > So you probably do not have a file permission problem per se and that is why > the hyphen option is included so that when you run clamdscan as a normal > user you can do what you were trying to do. > > I would recommend consulting "man clamdscan" for the options and > descriptions. Let's see what others have to say. > > --Robert >
Ok, thanks. From the man page: (4) To scan from standard input: clamdscan - <file_to_scan cat file_to_scan | clamdscan - Anyway it's strange because from a Debian distro I can issue clamadscan without the hyphen. Best regards. _______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml