The Steam Bug That Deleted Your Entire Home Directory
This title could be clearer and more informative.Try out Clickbait Shieldfor free (5 uses left this month).
In 2015, a bug in Steam's installation script caused it to recursively delete a user's entire home directory and connected drives. The culprit was an `rm -rf $STEAMROOT` command that defaulted to `rm -rf /` when the STEAMROOT variable was empty — effectively wiping everything from the root directory. The bug was triggered when a user moved their Steam folder and symlinked it back, causing Steam to attempt a reinstall. It was eventually fixed with a simple code change, but the incident serves as a cautionary tale about dangerous shell scripting patterns in widely-used software.
•1m watch time
79.8K Impressions3 Comments