Built-in test -x fails for root on FreeBSD

2011-04-29 Thread Johan Hattne
Configuration Information [Automatically generated, do not change]: Machine: i686 OS: freebsd8.0 Compiler: i686-gentoo-freebsd8.0-gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i686' -DCONF_OSTYPE='freebsd8.0' -DCONF_MACHTYPE='i686-gentoo-freebsd8.0' -DCONF_VENDOR='gentoo'

Re: Built-in test -x fails for root on FreeBSD

2010-03-29 Thread Johan Hattne
On 03/29/10 11:42, Eric Blake wrote: Therefore, it is perfectly acceptable for the root user to claim that a file is executable, as reported by eaccess, even if none of the file permission bits grant such permission. Yes, but test should still return false if the file isn't executable by

Built-in test -x fails for root on FreeBSD

2010-03-27 Thread Johan Hattne
Configuration Information [Automatically generated, do not change]: Machine: i686 OS: freebsd7.2 Compiler: i686-gentoo-freebsd7.2-gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i686' - DCONF_OSTYPE='freebsd7.2' -DCONF_MACHTYPE='i686-gentoo-freebsd7.2' - DCONF_VENDOR='gentoo'