|
|
|
|
|
by jtokoph
4172 days ago
|
|
The biggest lesson here is that backing up your files is extremely important. Both local backups and remote backups. I like the 3-2-1 rule: At least three copies,
In two different formats,
with one of those copies off-site.
Software is written by humans who will undoubtably miss a corner case and not think of every possible environment. |
|
Granted, part of the blame lies in the archaic Unix security model which doesn't sandbox applications. But ANY line containing "rm -rf" should be reviewed by the most senior dev in the company, or at least one who actually understands shell scripting. It has such a terrible failure mode, there's no excuse not to. (Especially when the dev to blame knew that it's "Scary!".)