AppArmor prevents ClamAV from access file or directory
ContentBody{} FormattedBody{value='
Problem
Ubuntu/Linux’s AppArmor may prevent access to file or directory causing Anti-Virus scanner to throw an error.
Solution
Few ways to prevent this error:
Disabling AppArmor
sudo systemctl stop apparmor.servicesudo systemctl disable apparmor.service
Set AppArmor to complain instead of denying access
apt-get install apparmor-utilsaa-complain /path/to/your/scanner(e.g./usr/sbin/clamd)