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
This commit is contained in:
parent
186cc7cb17
commit
6695cc5c21
1 changed files with 1 additions and 1 deletions
|
@ -172,7 +172,7 @@ def build_command(module, mode, path, follow, default, recursive, entry=''):
|
||||||
cmd.append('--recursive')
|
cmd.append('--recursive')
|
||||||
|
|
||||||
if not follow:
|
if not follow:
|
||||||
cmd.append('-h')
|
cmd.append('--physical')
|
||||||
|
|
||||||
if default:
|
if default:
|
||||||
if(mode == 'rm'):
|
if(mode == 'rm'):
|
||||||
|
|
Loading…
Reference in a new issue