From 311892a5677348b91cf1326c53752277925f9081 Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Mon, 14 Oct 2013 10:48:30 -0400 Subject: [PATCH] added long names to support older version as per feedback Signed-off-by: Brian Coca --- library/files/acl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/library/files/acl b/library/files/acl index 458a49dbd6..1b50d21c58 100644 --- a/library/files/acl +++ b/library/files/acl @@ -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)