Commit 7380a150 authored by Mirco Vivaldi's avatar Mirco Vivaldi
Browse files

add default e change permissions

parent d0645c69
......@@ -9,14 +9,20 @@
{% for dir in pillar.fbkusers[user]["fsperm"] %}
{{ dir }}-{{ user }}:
{{ dir }}-{{ user }}-default:
acl.present:
- name: {{ dir }}
- acl_type: d:user
- acl_name: {{ user }}
- perms: rwx
- recurse: True
{{ dir }}-{{ user }}:
acl.present:
- name: {{ dir }}
- acl_type: user
- acl_name: {{ user }}
- perms: rwx
- recurse: True
{% endfor %}
{% endif %}
{% endfor %}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment