Commit 311892a5 by Brian Coca

added long names to support older version as per feedback

Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
parent ef5b735c
...@@ -70,7 +70,8 @@ def get_acl(module,path,entry,follow): ...@@ -70,7 +70,8 @@ def get_acl(module,path,entry,follow):
if not follow: if not follow:
cmd.append('-h') cmd.append('-h')
# prevents absolute path warnings and removes headers # prevents absolute path warnings and removes headers
cmd.append('-cp') cmd.append('--omit-header')
cmd.append('--absolute-names')
cmd.append(path) cmd.append(path)
return _run_acl(module,cmd) return _run_acl(module,cmd)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment