mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
This allows using acl states with things like '- perms: r-x' or '- perms: r--', which also works when manually setting ACL's using setfacl.
This commit is contained in:
parent
d7bd667f79
commit
2f76a2dc34
@ -56,7 +56,7 @@ def present(name, acl_type, acl_name='', perms='', recurse=False):
|
||||
'changes': {},
|
||||
'comment': ''}
|
||||
|
||||
_octal = {'r': 4, 'w': 2, 'x': 1}
|
||||
_octal = {'r': 4, 'w': 2, 'x': 1, '-': 0}
|
||||
|
||||
__current_perms = __salt__['acl.getfacl'](name)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user