Skip to main content
Skip table of contents

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:

  1. Disabling AppArmor

    1. sudo systemctl stop apparmor.service
      sudo systemctl disable apparmor.service

  2. Set AppArmor to complain instead of denying access

    1. apt-get install apparmor-utils
      aa-complain /path/to/your/scanner (e.g. /usr/sbin/clamd)

📎 Related articles

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.