Ok...another experiment proved me wrong, again.

Geez...I really ought to learn to test my theories before I spout off.

Sorry.

On Thu, 5 Dec 2002, Thornton Prime wrote:

> > I am new to RED-HAT Linux but I was amazed at this behavior and can't
> > find anything on it.
> >
> > I created some dummy files as/owned by root on my WS with only "r"
> > permission bit set for group and world. Then I logged into the same box
> > as a dumb test user with no privileges and used "rm" to remove the file
> > and god damn it I was given the option to remove the "write protected
> > file"
> 
> This is not a Linux thing, nor a RedHat thing, but a Unix/POSIX thing.
> 
> If you have write permissions on the directory, you have the ability to
> add and remove entries from that directory, so a user can delete a file
> from a directory they have write permissions on, even if they don't have
> read or write permissions on the file itself.
> 
> thornton
> 
> 
> 
> 
> 

-- 
Mike Burger
http://www.bubbanfriends.org

Visit the Dog Pound II BBS
telnet://dogpound2.citadel.org or http://dogpound2.citadel.org:2000



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to