Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [[ -x ]] and root
- X-seq: zsh-users 298
- From: Zefram <A.Main@xxxxxxxxxxxxxxxxx>
- To: colin@xxxxxxxxxxxxxxxxxxxxx (Colin Holmes)
- Subject: Re: [[ -x ]] and root
- Date: Mon, 15 Jul 1996 18:53:42 +0100 (BST)
- Cc: zsh-users@xxxxxxxxxxxxxxx (Z Shell users mailing list)
- In-reply-to: <199607151726.KAA24274@xxxxxxxxxxxxxxxxxxxxx> from "Colin Holmes" at Jul 15, 96 10:26:42 am
>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