Re: x bit for dirs: misfeature?

Alexander Viro
2001-11-19T15:13:14Z

On Mon, 19 Nov 2001, vda wrote:

> > Trivial example: you have a directory with a bunch of subdirectories.
> > You want owners of subdirectories to see them. You don't want them
> > to _know_ about other subdirectories.
>
> Security through obscurity, that is.

Huh? By the same logics /etc/shadow is security through obscurity -
after all, you can try all possible passwords one by one. Ability to use
key != ability to see valid keys.

> Do you have even a single dir on your boxes with r!=x?

Yes.

Please, go to rtfm.mit.edu and find the UNIX FAQ there. Then read the
relevant parts.