I said &quot;The idea that any rm can kill the directory I&#x27;m in is just bad. A flag on rm is the wrong solution. It should just fail.&quot;<p>you say &quot;You cannot delete the directory you are immediately in, so that at the very least is prevented.&quot;<p>I have no idea what the rest of your comment is in relation to what I said other than I&#x27;m pretty sure you can accidentally delete a directory your in given what Steam did.<p>Deleting you current directory is against the POSIX standard.  It should not be allowed.