This is expected behaviour. If you have write permissions for the
directory, you can delete any file inside, whether it's owned by root or
not.
** Changed in: sudo (Ubuntu)
Status: Confirmed => Invalid
--
You received this bug notification because you are a member of Ubuntu
Bugs, which i
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: sudo (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/788468
Title:
rm man
** Package changed: ubuntu => sudo (Ubuntu)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/788468
Title:
rm manages to remove files owned by root without sudo
--
ubuntu-bugs mailing list
ubuntu-bug
If you are the owner of a directory you can delete all files in that
directory, even those where you are not the owner and where the file
protection settings would normally not allow that. (You are asked for
confirmation in such case, as you have seen.)
--
You received this bug notification becau
Is it possible that since you became root to 'touch' the file, that is
why the removal didn't generate a warning? Maybe you remained root to
the system? Maybe try 'sudo touch bla' on a file in a different folder
and see if you can then remove it without sudo.
--
You received this bug notification