update..
This commit is contained in:
@ -321,7 +321,7 @@
|
||||
{% else %}
|
||||
read only = no
|
||||
{% endif %}
|
||||
{% if item.writeable is defined and item.writeable |length > 0 %}
|
||||
{% if item.writeable is defined and item.writeable|length > 0 %}
|
||||
writeable = {{ item.writeable }}
|
||||
{% else %}
|
||||
writeable = yes
|
||||
|
@ -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 %}
|
||||
|
Reference in New Issue
Block a user