testing whether a file is executable returns negative when it is, in fact, exectuable. Reproducible: Always Steps to Reproduce: touch foo; chmod +x foo; ls -l foo; if [ -x foo ]; then echo "OK"; else echo "test -x is broken"; fi; rm -f foo Actual Results: -rwxr-xr-x 1 hal hal 0 2008-11-19 03:17 foo* test -x is broken Expected Results: -rwxr-xr-x 1 hal hal 0 2008-11-19 03:17 foo* OK Thanks for taking a look at it.
Never mind. I'm a 'tard. Filesystem was mounted noexec. /me hangs head in shame.