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

add default e change permissions

parent d0645c69
...@@ -9,14 +9,20 @@ ...@@ -9,14 +9,20 @@
{% for dir in pillar.fbkusers[user]["fsperm"] %} {% for dir in pillar.fbkusers[user]["fsperm"] %}
{{ dir }}-{{ user }}: {{ dir }}-{{ user }}-default:
acl.present: acl.present:
- name: {{ dir }} - name: {{ dir }}
- acl_type: d:user - acl_type: d:user
- acl_name: {{ user }} - acl_name: {{ user }}
- perms: rwx - perms: rwx
- recurse: True - recurse: True
{{ dir }}-{{ user }}:
acl.present:
- name: {{ dir }}
- acl_type: user
- acl_name: {{ user }}
- perms: rwx
- recurse: True
{% endfor %} {% endfor %}
{% endif %} {% endif %}
{% endfor %} {% 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