Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 247431

Summary: test -x fails on zsh-4.3.4-r1
Product: Gentoo Linux Reporter: Hal Ashburner <hal.ashburner>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: major    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Hal Ashburner 2008-11-18 16:27:56 UTC
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.
Comment 1 Hal Ashburner 2008-11-18 16:33:31 UTC
Never mind. I'm a 'tard.
Filesystem was mounted noexec. /me hangs head in shame.