[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: rm -rf .. ?!?!



You might put it this way:

You own a house, ands ome other people (users) put some stuff (files/dir)
there now it doesn't matter what they put you can kick there stuff
when ever.

I my self like this feature.

On Fri, 20 Feb 1998, Gilad Ben-Yossef wrote:

> I have noticed today something quite strange (at least for me) - that a
> user who owns a directory can delete from it ANY file, even if he
> doesn't have permissions to read or write to the file, and it is owned
> by another user.
> It is thus possible, for example, for a user to delete a .rhosts file
> from his home directory even if root put that file there without r/w
> permissions for the user.
> 
> I have tested this on both Redhat, Slackware and Solaris and it seems to
> work so I surmise this is a feature and not a bug, however it still
> seems strange to me.
> 
> Anyone care to comment?
> 
> Gilad
> 
>