> 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




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

Reply via email to