added long names to support older version as per feedback
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
This commit is contained in:
parent
1ddcc9574b
commit
6db8c642d5
1 changed files with 2 additions and 1 deletions
|
@ -70,7 +70,8 @@ def get_acl(module,path,entry,follow):
|
|||
if not follow:
|
||||
cmd.append('-h')
|
||||
# prevents absolute path warnings and removes headers
|
||||
cmd.append('-cp')
|
||||
cmd.append('--omit-header')
|
||||
cmd.append('--absolute-names')
|
||||
cmd.append(path)
|
||||
|
||||
return _run_acl(module,cmd)
|
||||
|
|
Loading…
Add table
Reference in a new issue