diff --git a/files/acl b/files/acl index 458a49dbd6f..1b50d21c58f 100644 --- a/files/acl +++ b/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)