POSSIABLE SPAM:(80) : ls mystery

Dimitrios sehh at altered.com
Mon Feb 16 02:53:33 GMT 2004

On Mon, 16 Feb 2004 01:04:39 +0000 "Frank Shute" <frank at esperance-linux.co.uk> wrote:

> Why can't I read the dir as a user (group wheel) with permissions of
> 644 but I can with permissions of 755? What the hell have the
> executable bits got to do with reading a dir? I'm confused... :(

I think thats the correct way.

The execute bit on the directory is 'access', the read bit is
the ability to list the contents of the directory.

So you may give execute, so user can 'cd' to dir, but not give
read permision, so user won't be able to 'ls' in the dir.

its always been like that i think.

More information about the Ukfreebsd mailing list