permission issue

Darryl Clarke smartssa at gmail.com
Fri Oct 21 13:43:01 UTC 2005


On 10/21/05, Jens <commercial at acamedia.org> wrote:
> hi!
> something strange happened yesterday and id like to get some help
> understanding it. i was showing a friend how permissions work and did this:
>
> as user eg. joe:
>
> cd ~/
> mkdir test
> chmod og-rwx test
> cd test
> sudo touch file
> sudo chmod og-rwx file
>
> now heres whats STRANGE:
> rm -f file
>
> and the file is deleted...this means that user joe deleted a file owned
> by root with 700 permissions.
>
> this def. seems counterintutitive to me but id very much appreciate
> being corrected.
>


That is very, very interesting.  I'd like to know why that works.  I'm
going to look myself, but I don't know how successful I'll be.

--
~ Darryl  ~ smartssa at gmail.com
http://smartssa.com / http://darrylclarke.com




More information about the ubuntu-users mailing list