Linux File Access Control Lists
The Linux ACL state module requires the getfacl and setfacl binaries.
Ensure a Linux ACL is present
root:
acl.present:
- name: /root
- acl_type: user
- 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
Generated on February 03, 2020 at 00:04:54 UTC.
You are viewing docs for the previous stable release, 2018.3.5. Switch to docs for the latest stable release, 2019.2.3, or to a recent doc build from the master branch.
© 2020 SaltStack. All Rights Reserved, SaltStack Inc. | Privacy Policy