Re: [PATCH] [BUILTIN] Make test -x sane again when run as root

2011-09-27 Thread Herbert Xu
On Mon, Sep 26, 2011 at 05:16:49PM -0500, Jonathan Nieder wrote: Jonathan Nieder wrote: [PATCH] [BUILTIN] Make test -x sane again when run as root Quick correction: a better title would be [BUILTIN] Fix test -x as root on platforms with old-fashioned faccessat for brevity

[PATCH v2] [BUILTIN] Fix test -x as root on FreeBSD 8

2011-09-27 Thread Jonathan Nieder
POSIX.1-2008 ยง4.4 File Access Permission sayeth: If execute permission is requested, access shall be granted if execute permission is granted to at least one user by the file permission bits or by an alternate access control mechanism; otherwise, access shall be