mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
parent
d28a995892
commit
965d596903
@ -202,9 +202,11 @@ def modfacl(acl_type, acl_name, perms, *args, **kwargs):
|
||||
|
||||
_raise_on_no_files(*args)
|
||||
|
||||
cmd = 'setfacl -m'
|
||||
cmd = 'setfacl'
|
||||
if recursive:
|
||||
cmd += ' -R'
|
||||
cmd += ' -R' # -R must come first as -m needs the acl_* arguments that come later
|
||||
|
||||
cmd += ' -m'
|
||||
|
||||
prefix = ''
|
||||
if acl_type.startswith('d'):
|
||||
|
Loading…
Reference in New Issue
Block a user