Public bug reported:
To reproduce:
volodya@gnome:~$ sudo touch bla
volodya@gnome:~$ ls -l bla
-rw-r--r-- 1 root root 0 2011-05-26 08:17 bla
volodya@gnome:~$ rm bla
rm: remove write-protected regular empty file `bla'? y
volodya@gnome:~$ ls -l bla
ls: cannot access bla: No such file or directory
What i expect to see:
rm command should not be able to remove files which are owned by root without
root login
Note:
I have tried to remove from /bin/ directory, and i do see that there it
generates an error
volodya@gnome:/bin$ rm more
rm: remove write-protected regular file `more'? y
rm: cannot remove `more': Permission denied
However, this is insufficient. Root owned files within home directory should
also be protected from deletion.
** Affects: ubuntu
Importance: Undecided
Status: New
--
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
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs