[clamav-users] cron.daily script
nick at collinson.fr
nick at collinson.fr
Sat Jun 10 10:30:50 UTC 2017
When I run my cron.daily clamAV shell script from command line logged in as root, it works perfectly using # /etc/cron.daily/00clamscan_daily.
However when it runs automatically at 3am as a cron.daily script, bad files are detected but not moved to quarantine (--move=/tmp/quarantine), they are simply listed in /var/log/clamav/clamav-$(date +'%Y-%m-%d').log with a summary saying "not copied" (see below)
----------- SCAN SUMMARY -----------
Known viruses: 6296792
Engine version: 0.99.2
Scanned directories: 504
Scanned files: 32106
Infected files: 2
Not copied: 2
Maybe /etc/clamd.d/scan.conf should indicate "root" user and not "clam" as user, could this be the problem?
Many thanks for the support.
NC
More information about the clamav-users
mailing list