This commit is contained in:
2022-02-19 15:12:02 +01:00
parent 526f7e919a
commit c1501de6bf
5 changed files with 747 additions and 2 deletions

View File

@ -383,7 +383,7 @@
# - included in the entry. '*' and '?' can be used to specify multiple files or
# - directories as in DOS wildcards.
# -
veto files = /{{ item.recycle_path | default('@Recycle.Bin') }}/
veto files = /{{ item.recycle_path | default('@Recycle.Bin') }}/.DS_Store/
delete veto files = yes
{% else %}

View File

@ -27,7 +27,9 @@
{% if count.samba_shares > 0 %}
dir_permissions="
{% for item in samba_shares | default([]) %}
{% if 'backup' not in item.path %}
{{ item.path }}:{{ item.group_write_list | default('root', true) }}:{{ item.file_create_mask|string | default('660', true) }}:{{ item.dir_create_mask | default('2770', true) }};
{% endif %}
{% endfor %}
"
{% endif %}