added long names to support older version as per feedback

Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
This commit is contained in:
Brian Coca 2013-10-14 10:48:30 -04:00
parent 1ddcc9574b
commit 6db8c642d5

View file

@ -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)