I am getting error like this when i do clamdscan on a file or folder. What could be the reason for it ??
[root@mySys clamav]# clamdscan response /root/clamav/response: lstat() failed: Permission denied. ERROR ----------- SCAN SUMMARY ----------- Infected files: 0 Total errors: 1 Time: 0.171 sec (0 m 0 s) On Fri, Sep 14, 2012 at 7:15 PM, Siranjeevi <siranjee...@gmail.com> wrote: > Yes David. I can understand that now.. If i change in clamd.conf, can i > get it reflected for daemon process. > > > On Fri, Sep 14, 2012 at 6:52 PM, David Raynor <dray...@sourcefire.com>wrote: > >> On Fri, Sep 14, 2012 at 8:59 AM, Siranjeevi <siranjee...@gmail.com> >> wrote: >> >> > Hi All, >> > >> > I changed the items in clamd.conf >> > >> > MaxScanSize = "157286400" >> > MaxFileSize = "104857600" >> > >> > But Still, the changes are not reflected in clamscan. I couldn't scan >> > large files which is of 75MB in size. >> > >> > >> clamscan does not use the clamd.conf file. You need to pass any settings >> changes on the command line. Rob pointed out what the size-related command >> line options were. Probably --max-filesize=##### will do the trick. >> >> If you use the --help command line option, clamscan will give you a >> detailed list of other options it supports in case they are relevant to >> your scans. >> >> Dave R. >> >> -- >> --- >> Dave Raynor >> Sourcefire Vulnerability Research Team >> dray...@sourcefire.com >> _______________________________________________ >> Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net >> http://www.clamav.net/support/ml >> > > > > -- > Regards, > *R.Siranjeevi** **| MCA @ PSG Tech* > > --------------------------------------------------------------------------------- > "Count the flowers of your garden, NOT the leafs which falls away! " > > > > -- Regards, *R.Siranjeevi** **| MCA @ PSG Tech* --------------------------------------------------------------------------------- "Count the flowers of your garden, NOT the leafs which falls away! " _______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml