[Bug 292447] Re: User can delete file owned by root with rm.

2009-06-12 Thread Adam Reeve
Yes that's the correct behaviour. You have write permission to the test directory so can delete any file within it. -- User can delete file owned by root with rm. https://bugs.launchpad.net/bugs/292447 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct s

[Bug 292447] Re: User can delete file owned by root with rm.

2009-06-12 Thread rob_brown-bayliss
Is this correct behavior? I cant change the owner or permissions of a root owned file with out sudo, but I can delete it with out sudo. r...@blackbox:~$ mkdir test r...@blackbox:~$ cd test r...@blackbox:~/test$ touch test r...@blackbox:~/test$ chown root:root test chown: changing ownership of `

[Bug 292447] Re: User can delete file owned by root with rm.

2008-11-03 Thread Jamie Strandboge
Marking invalid per reporter. ** Changed in: coreutils (Ubuntu) Status: New => Invalid -- User can delete file owned by root with rm. https://bugs.launchpad.net/bugs/292447 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubunt

[Bug 292447] Re: User can delete file owned by root with rm.

2008-11-03 Thread Ondřej Vašík
Just would like to add some details... Permissions for rm are affected only by the parent directory of the file. So you could delete whatever you want if you have permissions on the parent dir. You can't delete the file owned by you if you don't have write rights on parent dir. Correct and expected

[Bug 292447] Re: User can delete file owned by root with rm.

2008-11-03 Thread Jamie Strandboge
** Visibility changed to: Public ** This bug is no longer flagged as a security issue -- User can delete file owned by root with rm. https://bugs.launchpad.net/bugs/292447 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs