From 72fb7a0a172e648bbeb4597e109df0238ac7cec9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9mie=20Astori?= Date: Thu, 20 Aug 2015 23:35:53 +0000 Subject: [PATCH] Fix physical walk on acl module for Linux `-h` is for BSD [1] while `-P`/`--physical` is for Linux [2]. This commit fixes that option now that acl module is (temporarily) only supported for Linux. I will re-add `-h` when fixing BSD support. [1]: http://www.freebsd.org/cgi/man.cgi?format=html&query=setfacl(1) [2]: http://linuxcommand.org/man_pages/setfacl1.html --- files/acl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/acl.py b/files/acl.py index 06fd304e361..ad0f4607609 100644 --- a/files/acl.py +++ b/files/acl.py @@ -172,7 +172,7 @@ def build_command(module, mode, path, follow, default, recursive, entry=''): cmd.append('--recursive') if not follow: - cmd.append('-h') + cmd.append('--physical') if default: if(mode == 'rm'):