# salt.modules.linux_acl

Support for Linux File Access Control Lists

`salt.modules.linux_acl.` `delfacl`(acl_type, acl_name, *args)

  Remove specific FACL from the specified file(s)

  CLI Examples:

      salt '*' acl.delfacl user myuser /tmp/house/kitchen
      salt '*' acl.delfacl default:group mygroup /tmp/house/kitchen
      salt '*' acl.delfacl d:u myuser /tmp/house/kitchen
      salt '*' acl.delfacl g myuser /tmp/house/kitchen /tmp/house/livingroom

`salt.modules.linux_acl.` `getfacl`(*args)

  Return (extremely verbose) map of FACLs on specified file(s)

  CLI Examples:

      salt '*' acl.getfacl /tmp/house/kitchen
      salt '*' acl.getfacl /tmp/house/kitchen /tmp/house/livingroom

`salt.modules.linux_acl.` `modfacl`(acl_type, acl_name, perms, *args)

  Add or modify a FACL for the specified file(s)

  CLI Examples:

      salt '*' acl.addfacl user myuser rwx /tmp/house/kitchen
      salt '*' acl.addfacl default:group mygroup rx /tmp/house/kitchen
      salt '*' acl.addfacl d:u myuser 7 /tmp/house/kitchen
      salt '*' acl.addfacl g mygroup 0 /tmp/house/kitchen /tmp/house/livingroom

`salt.modules.linux_acl.` `version`()

  Return facl version from getfacl --version

  CLI Example:

      salt '*' acl.version

`salt.modules.linux_acl.` `wipefacls`(*args)

  Remove all FACLs from the specified file(s)

  CLI Examples:

      salt '*' acl.wipefacls /tmp/house/kitchen
      salt '*' acl.wipefacls /tmp/house/kitchen /tmp/house/livingroom

Current Salt release: 0.17.1

#### Previous topic

salt.modules.ldapmod

#### Next topic

salt.modules.linux_lvm

### Quick search

Enter search terms or a module, class or function name.

### Upcoming SaltStack Events

My conferences on Lanyrd