Add virusfilter support for Samba homes and update AppArmor configuration
This commit is contained in:
@@ -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 %}
|
||||
Reference in New Issue
Block a user