mirror of
https://github.com/ansible-collections/ansible.posix.git
synced 2026-01-12 07:35:31 +01:00
Update acl.py
This commit is contained in:
parent
967cc622a0
commit
d588860b08
1 changed files with 1 additions and 0 deletions
|
|
@ -190,6 +190,7 @@ def build_command(module, mode, path, follow, default, recursive, recalculate_ma
|
|||
'''Builds and returns a getfacl/setfacl command.'''
|
||||
if mode == 'set':
|
||||
cmd = [module.get_bin_path('setfacl', True)]
|
||||
cmd.extend(['-m', entry])
|
||||
elif mode == 'rm':
|
||||
cmd = [module.get_bin_path('setfacl', True)]
|
||||
cmd.extend(['-x', entry])
|
||||
|
|
|
|||
Loading…
Reference in a new issue