Directory write permissions -- fail

Kurt Wall kwall
Mon May 17 11:31:39 PDT 2004


Scribbling feverishly on May 23, bof managed to emit:

[...]

> But when I changed the directory permissions to -w--w--w-,  I could not 
> add a new file or delete any of the existing files, getting a 
> "permission denied" message. This is not as I understand it: I should be 
> able to do this.
>
> Could anyone explain why?

You can't write to a file to which you don't have access, which, for 
a directory, means the execute bit must be set.

Kurt
-- 
You can't hold a man down without staying down with him.
		-- Booker T. Washington



More information about the Linux-users mailing list