[CentOS] Tmp directory and sticky

William L. Maltby CentOS4Bill at triad.rr.com
Tue Sep 16 12:32:43 UTC 2008


On Mon, 2008-09-15 at 16:43 -0400, Bob Hoffman wrote:
> <snip>

> Is useless to do? What about chmod so that no one can execute anything,
> rw-rw-rw- ? Then no executes via chmod.
> If so, what a waste of time working on this...lol

As Ralph said, x on directories does no mean what you seem to think it
does. It controls whether a process can change into that directory. E.g.
you can access a file anywhere in the directory (or it's subdirectories)
and execute it (if permissions and type are right) but you cannot "cd
dir" if it has no x on it. Further, all higher level dirs need to have x
as well.

> <snip sig stuff>

-- 
Bill



More information about the CentOS mailing list