[clamav-users] clamscan not obeying the --exclude-dir directives
Mark Allan
markjallan at gmail.com
Tue Jun 14 15:16:15 UTC 2016
Hi Adam,
Are you producing that clamscan invocation yourself? If not, and it's coming from something produced by ClamXav, then you should direct your question to the official support channel for ClamXav which can be found at https://www.clamxav.com/contactus
Regards
Mark
> On 14 Jun 2016, at 1:33 pm, Adam Lininger <arlininger at gmail.com> wrote:
>
> I run clamAV on my Mac Book (installed via clamXav). It seems to be not
> entirely obeying the --exclude and --exclude-dir flags.
>
> I have a directory (/media/binstore) which is an sshfs mount from another
> server. I want to exclude scanning this directory to avoid excess network
> traffic. While clamscan never reports a virus in that directory, it is
> opening and reading the files in that directory. How can this be avoided?
>
>
> Clamscan invocation (from ps):
> /usr/local/clamXav/bin/clamscan -ri --quiet
> --log=/Users/alininge/Library/Logs/clamXav-scan.log --scan-mail=no
> --phishing-scan-urls=no --exclude="/opt/local/msf/"
> --exclude-dir="/opt/local/msf/" --exclude="/media/" --exclude-dir="/media/"
> --exclude="/media/binstore" --exclude-dir="/media/binstore"
> --exclude=^/Volumes --exclude=^/dev --exclude-dir=^/Volumes
> --exclude-dir=^/dev /
>
> Thanks,
> Adam Lininger
> _______________________________________________
> Help us build a comprehensive ClamAV guide:
> https://github.com/vrtadmin/clamav-faq
>
> http://www.clamav.net/contact.html#ml
More information about the clamav-users
mailing list