Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 247431 - test -x fails on zsh-4.3.4-r1
Summary: test -x fails on zsh-4.3.4-r1
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-18 16:27 UTC by Hal Ashburner
Modified: 2008-11-18 16:33 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.