This commit is contained in:
chris committed 2022-02-20 01:43:00 +01:00
1 parent c1501de6bf
commit 01f489e90d
4 files changed
+376 -3

No files matched your search

@@ -27,7 +27,9 @@
{% if count.samba_shares > 0 %}
dir_permissions="
{% for item in samba_shares | default([]) %}
{% if 'backup' not in item.path %}
{% if item.file_create_mask is defined and item.file_create_mask|length > 0
and item.dir_create_mask is defined and item.dir_create_mask|length > 0
and item.group_write_list is defined and item.group_write_list|length > 0 %}
{{ 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 %}