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 tech industry for major developments, new product launches, AI breakthroughs, video game releases and other newsworthy events. Editors assign relevant stories to staff writers or freelance contributors 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 tech headlines of the day delivered to your inbox

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

    Tech News

    Explore the latest in tech with our Tech News. We cut through the noise for concise, relevant updates, keeping you informed about the rapidly evolving tech landscape with curated content that separates signal from noise.

    In-Depth Tech Stories

    Explore tech impact in In-Depth Stories. Narrative data journalism offers comprehensive analyses, revealing stories behind data. Understand industry trends for a deeper perspective on tech's intricate relationships with society.

    Expert Reviews

    Empower decisions with Expert Reviews, merging industry expertise and insightful analysis. Delve into tech intricacies, get the best deals, and stay ahead with our trustworthy guide to navigating the ever-changing tech market.