# Ansible 1.4 and acl

**URL:** <https://forum.ansible.com/t/ansible-1-4-and-acl/13982>\
**Category:** Ansible Project\
**Created:** [November 22, 2013, 11:07pm UTC](https://forum.ansible.com/t/ansible-1-4-and-acl/13982 "2013-11-22T23:07:34Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hugues\_Alary](https://avatars.discourse-cdn.com/v4/letter/h/e8c25b/32.png) [@Hugues\_Alary](https://forum.ansible.com/u/Hugues_Alary)\
**Post date:** [November 22, 2013, 11:07pm UTC](https://forum.ansible.com/t/ansible-1-4-and-acl/13982/1 "2013-11-22T23:07:34Z")

</div>

Hi there,

First, congrats for the new release!

I see that the new release comes with an acl module. Great!

I however just tried using it, and I’m trying to set a default acl on a directory.  
With the command line tool one would do it this way:

setfacl -m d:group:mygroup:rwx directory/

so I tried to translate that in an ansible format:

---

<div class="post-metadata">

**Author:** ![Hugues\_Alary](https://avatars.discourse-cdn.com/v4/letter/h/e8c25b/32.png) [@Hugues\_Alary](https://forum.ansible.com/u/Hugues_Alary)\
**Post date:** [November 22, 2013, 11:09pm UTC](https://forum.ansible.com/t/ansible-1-4-and-acl/13982/2 "2013-11-22T23:09:10Z")

</div>

If this is an actual bug, the offender would be line 132, in library/files/acl.

-Hugues

---

<div class="post-metadata">

**Author:** ![Michael\_DeHaan2](https://avatars.discourse-cdn.com/v4/letter/m/da6949/32.png) [@Michael\_DeHaan2](https://forum.ansible.com/u/Michael_DeHaan2)\
**Post date:** [November 23, 2013, 3:40pm UTC](https://forum.ansible.com/t/ansible-1-4-and-acl/13982/3 "2013-11-23T15:40:01Z")

</div>

Please report bugs on github, not the mailing list.

Include the ansible version being used and steps to reproduce the problem.

Thank you.

---

<div class="post-metadata">

**Author:** ![Brian\_Coca1](https://avatars.discourse-cdn.com/v4/letter/b/278dde/32.png) [@Brian\_Coca1](https://forum.ansible.com/u/Brian_Coca1)\
**Post date:** [November 23, 2013, 3:40pm UTC](https://forum.ansible.com/t/ansible-1-4-and-acl/13982/4 "2013-11-23T15:40:20Z")

</div>

The module currently doesn’t support the ‘default’ option as some systems seem to have problems with it and I didn’t get enough feedback to enable detection (POSIXLY\_CORRECT is only usable in systems that actually allow for the default option but disable it).

so:

- name: Setup ACL  
acl: name=/var/www entry=“group:dev:rwx” state=present
