Hello. Recently, clamscan stopped processing the '--exclude-dir' option. I'm 
using the Ubuntu LTS package (1.4.3) and cannot figure out what the issue might 
be. I run the same scan on two different computers, yet only one of them throws 
these errors. I have uninstalled/reinstalled clamav to no avail. I'm running as 
root and the directories do exist. Tried with and without quotes and with and 
without trailing slash for the excluded directory. I compared environments 
(printenv) and they are the same other than variables that change (PIDs, etc.).

>From Konsole:
# clamscan -ir exclude-dir=/usr/bin/ /usr
exclude-dir=/usr/bin/: No such file or directory
WARNING: exclude-dir=/usr/bin/: Can't access file
^C

Has anyone experienced this and/or any idea of what else to troubleshoot?
_______________________________________________

Manage your clamav-users mailing list subscription / unsubscribe:
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/Cisco-Talos/clamav-documentation

https://docs.clamav.net/#mailing-lists-and-chat

Reply via email to