On May 8, 2008, at 5:43 PM, Dennis Peterson wrote: >> Can't you do this via something like: >> >> % ls -1 > /tmp/filelist_to_scan >> % xargs clamdscan < /tmp/filelist_to_scan > > The clamd user would need to be root for this to always work. That is > probably not a good idea when scanning user space.
If clamd doesn't have permissions to read some of the files you want to check, use clamscan as root instead, although any potential security risk from a maliciously crafted input file would likely affect clamscan in such circumstances as well. Add salt and season to taste. -- -Chuck _______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://lurker.clamav.net/list/clamav-users.html