Add virusfilter support for Samba homes and update AppArmor configuration

This commit is contained in:
2026-05-29 18:43:06 +02:00
parent 56a2c8464f
commit 6e086dbac0
6 changed files with 186 additions and 57 deletions
@@ -0,0 +1,11 @@
# {{ ansible_managed }}
# see: roles/common/tasks/samba-config-server.yml
/data/** r,
/data/samba/QUARANTINE/** rw,
{% if samba_homes_virusfilter | default(false) | bool %}
{{ base_home }}/** r,
{% if base_home != '/home' %}
/home/** r,
{% endif %}
{% endif %}