Hi everybody,
I got recently aware of a strange behavior under bash as root: file operation -x always return true, no matter what. Could not find anything related in this forum.
For instance:
I cannot believe this could be a feature. Then is it a bug?
Some ideas?
Cheers
Franck
I got recently aware of a strange behavior under bash as root: file operation -x always return true, no matter what. Could not find anything related in this forum.
For instance:
Code:
# touch foo && chmod a-x foo && [ -x foo ] && echo "Foo is executable." && rm foo
Foo is excutable[/I]
I cannot believe this could be a feature. Then is it a bug?
Code:
# bash --version
GNU bash, version 4.1.7(0)-release (i386-portbld-freebsd8.1)
Code:
# uname -v
FreeBSD 8.1-STABLE #0: Sun Oct 31 15:06:27 CET 2010 root@:/usr/obj/usr/src/sys/GENERIC
Some ideas?
Cheers
Franck