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
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 `
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
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
** 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