I tried this: OnAccessMountPath /var TemporaryDirectory /tmp The error still persists.
I also tried the following: OnAccessIncludePath /var TemporaryDirectory /tmp But then the protection doesn't work, and I got this in the log: Jun 15 08:38:10 clamav7 clamd[1136]: ScanOnAccess: Protecting directory '/var' (and all sub-directories) Jun 15 08:38:10 clamav7 clamd: ScanOnAccess: Protecting directory '/var' (and all sub-directories) Jun 15 08:38:10 clamav7 clamd: ERROR: ScanOnAccess: Could not watch path '/var', Success Jun 15 08:38:10 clamav7 clamd[1136]: ScanOnAccess: Could not watch path '/var', Success On Wed, Jun 14, 2017 at 7:04 PM, Steven Morgan <smor...@sourcefire.com> wrote: > Hello, > > I looked at the debug trace and reviewed the clamd.conf. Can you try > setting clamd's TemporaryDirectory to somewhere that is not under your > onaccess mount path? Also, can you try running clamscan rather than clamd > (to test if the behavior is the same)? > > Steve > _______________________________________________ > clamav-users mailing list > clamav-users@lists.clamav.net > http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users > > > Help us build a comprehensive ClamAV guide: > https://github.com/vrtadmin/clamav-faq > > http://www.clamav.net/contact.html#ml > _______________________________________________ clamav-users mailing list clamav-users@lists.clamav.net http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users Help us build a comprehensive ClamAV guide: https://github.com/vrtadmin/clamav-faq http://www.clamav.net/contact.html#ml