Hello, I'm looking for a bit of help with including dirs for scanning with clamonacc. Ideally I want to only scan:
/user-home-folders/*/Downloads Where * could be any user name. However it doesn't look like I can set a regex for the OnAccessIncludePath parameter. The aim of the above is to exclude 'noisy' dirs like ~/.cache (where applications like Chrome create tons of files) from scanning. With many users I don't want all these files to impact scanning performance If the above is not possible could I do something like the below? OnAccessIncludePath to /user-home-folders/ ExcludePath /.local/ ExcludePath /.cache/ ExcludePath/.config/ In testing this I still see clamonacc tell me it's performing scanning on files created in .cache but will the engine itself ignore them due to the Excludes? Is there a better way of accomplishing this? Thanks Nick
_______________________________________________ clamav-users mailing list clamav-users@lists.clamav.net https://lists.clamav.net/mailman/listinfo/clamav-users Help us build a comprehensive ClamAV guide: https://github.com/vrtadmin/clamav-faq http://www.clamav.net/contact.html#ml