diff --git a/templates/Fedora/34/etc/clamd.d/scan.conf b/templates/Fedora/34/etc/clamd.d/scan.conf index 3dafd6a..caa610b 100644 --- a/templates/Fedora/34/etc/clamd.d/scan.conf +++ b/templates/Fedora/34/etc/clamd.d/scan.conf @@ -720,8 +720,8 @@ OnAccessPrevention yes # Default: disabled #OnAccessMountPath / #OnAccessMountPath /home/user -{% for item in ansible_mounts %} -OnAccessMountPath {{ item.mount }} +{% for item in ansible_mounts|map('mount')|sort %} +OnAccessMountPath {{ item }} {% endfor %} # With this option you can whitelist the root UID (0). Processes run under