salt.states.linux_acl

Linux File Access Control Lists

Ensure a Linux ACL is present

root:
  acl.present:
    - name: /root
    - acl_type: users
    - acl_name: damian
    - perms: rwx

Ensure a Linux ACL does not exist

root:
  acl.absent:
    - name: /root
    - acl_type: user
    - acl_name: damian
    - perms: rwx
salt.states.linux_acl.absent(name, acl_type, acl_name='', perms='', recurse=False)

Ensure a Linux ACL does not exist

salt.states.linux_acl.present(name, acl_type, acl_name='', perms='', recurse=False)

Ensure a Linux ACL is present