3 ms·
Reminds me of the time when Steam might remove your whole home directory under some circumstances. This thing happened pretty often in the past and people now a
by neurostimulant 7y ago
Reminds me of the time when Steam might remove your whole home directory under some circumstances. This thing happened pretty often in the past and people now actually starting to follow best practices (e.g. adding 'set -euxo pipefail` at the top of the script before doing anything else) when writing bash script to avoid these kind of accidental deletion. Also, I regard `rm` as taboo when I had to do something as root, and use `mv` to move it to a temporary folder instead. I can then clean up the temp folder using unprivileged user later.