On Tue, Mar 12, 2013 at 3:21 PM, Matthew Byng-Maddick <mbm@???> wrote:
> On Tue, Mar 12, 2013 at 01:34:57PM +0000, Roger Light wrote:
>> On Tue, Mar 12, 2013 at 1:29 PM, Samuel Bächler <baechler@???> wrote:
>>> (drwxrw----> -> drw-rw----)
>> "x" means "search" in the context of directories, not execute.
>
> No, it doesn't. "x" means "enter" - ie, you can't enter the directory
> if you don't have execute permission. You can "search"/"read" it, but
> only if you have read permission, and you can put files in there if
> you have write permission.
POSIX calls it search:
http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap04.html#tag_04_04
who am I to argue? :) Regardless of the name, the important point is
that it is nothing to do with executing anything.
Samuel, it's worth spending some time figuring this all out for
yourself because it's not always obvious on first glance what the
behaviour will be. If you have a directory that you don't have write
permission for, you won't be able to create new files (or rename, or
delete), but you can modify files that already exist if you have the
appropriate file permissions, for example.
Matt - small world, we've met through juggling before.
Cheers,
Roger