3 ms·
Haha, how can it do that out of interest, if you're not root? (As aren't the top level directories in / owned by root?, or does it work anyway, if rm can recurs
by anfractuosity 9y ago
Haha, how can it do that out of interest, if you're not root? (As aren't the top level directories in / owned by root?, or does it work anyway, if rm can recurse down? deleting files from the current user)
- rocqua 9y agoAs far as I know, it can recurse down and get to more files than you want. The alternative is that the last time I ran that command, it was actually on an account with write rights to the root dir.
- sp332 9y agoIn the video he says that you need to be root when you make the typo. But since you have to be root when you install the package, you could plant a suid binary or even leave a service running as root that deletes all your files later.