Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: [[ -x ]] and root



>However, [[ -x file ]] returns true for all files when run under a root process, 
>even for files --r--r--r that (correctly) fail execution for root with "permission
>denied:"  
>
>Is this a zsh "feature" or am I misunderstanding something fundamental?

It's a "feature" of most Linux kernels, that broke one of my scripts.
If you are indeed using Linux, complain to Linus -- he was sent correct
patches to fix this problem months ago, but he seems to have ignored
them.

-zefram




Messages sorted by: Reverse Date, Date, Thread, Author