As the title says: Why can I remove a file as user wich is owned by root?
Here is an example:
% sudo touch ~/test
% ls -la ~/test
-rw-r--r-- 1 root root 0 Jun 18 20:31 /home/aboettger/test
% rm ~/test
rm: remove write-protected regular empty file ‘/home/aboettger/test’? Y
% ls -la ~/test
ls: cannot access /home/aboettger/test: No such file or directory
wich
withwhich
so that English language translators can parse the page properly. – mickmackusa Nov 23 '21 at 00:05