Home This Horrible Steam Bug Erases All User Files On Linux Systems

This Horrible Steam Bug Erases All User Files On Linux Systems

If you’re using the Steam videogame service on Linux, be very, very careful lest you run into a terrible bug that could wipe out all your personal files—and maybe even your backups, for good measure.

In particular, you’ll want to think twice before moving your Steam directory. Github user Keyvin was doing just that by moving his directory from a default location, after which he tried to create a shortcut to the original location. To his surprise, the Steam application then recursively deleted everything in his directory tree—including backups stored on an external hard drive.

Another user reported that his entire Home directory was deleted while debugging Steam. Looks like the problem is a script bug in which an incorrect empty setting gets passed into an rm -rf command that erases files in a given directory, plus all the subdirectories in the home directory (and all their subdirectories, and so on, and so on).

This doesn’t wipe out literally everything—your operating system should still be safe—but it can basically take out all your documents, pictures, saved games, other media and anything else you’ve personally stored.


So if you’re playing Rust or the Talos Principle this weekend and restoring files from cloud backups isn’t how you want to spend your Saturday night, just make sure to avoid symlinking Steam’s .local folders or debugging until a patch is in place. (Looks like one is in the works already.)

Photo by alx_chief

About ReadWrite’s Editorial Process

The ReadWrite Editorial policy involves closely monitoring the gambling and blockchain industries for major developments, new product and brand launches, game releases and other newsworthy events. Editors assign relevant stories to in-house staff writers with expertise in each particular topic area. Before publication, articles go through a rigorous round of editing for accuracy, clarity, and to ensure adherence to ReadWrite's style guidelines.

Get the biggest iGaming headlines of the day delivered to your inbox

    By signing up, you agree to our Terms and Privacy Policy. Unsubscribe anytime.

    Gambling News

    Explore the latest in online gambling with our curated updates. We cut through the noise to deliver concise, relevant insights, keeping you informed about the ever-changing world of iGaming and its most important trends.

    In-Depth Strategy Guides

    Elevate your game with tailored strategies for sports betting, table games, slots, and poker. Learn how to maximize bonuses, refine your tactics, and boost your chances to beat the house.

    Unbiased Expert Reviews

    Honest and transparent reviews of sportsbooks, casinos and poker rooms crafted through industry expertise and in-depth analysis. Delve into intricacies, get the best bonus deals, and stay ahead with our trustworthy guides.