On Tue, Mar 12, 2013 at 05:18:28PM +0000, Roger Light wrote:
On Tue, Mar 12, 2013 at 3:21 PM, 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(a)boeser.ch> 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…
who am I to argue? :) Regardless of the name, the important point is
that it is nothing to do with executing anything.
Yeah - fair point, in which case POSIX/SUS3 is using misleading terminology,
which'll make newbies get it wrong! :-( Search, to me, implies what the
directory read permission is for (ie. what're the contents of the directory)
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.
Yes, very much so.
Matt - small world, we've met through juggling
before.
*blink* OK! Which Roger are you? I can't put a face to a name - what props?
:-)
Cheers
MBM