News

Steam for Linux Bug Could Nuke Your Hard Drive

A bug within Steam for Linux has been discovered that could potentially wipe personal data and files stored on both the PC’s internal hard drive any connected external drive.

The fault, as outlined on Valve’s GitHub Stream for Linux page, is within a line of code in steam.sh that reads ‘rm -rf “$STEAMROOT/”. The command is meant to refresh Steam files on user request, but can also be triggered if Steam’s installation directory is moved, which removes the directory path, rewriting the line as ‘rm -rf “/'”. Without a specific directory to point at, the refresh function indiscriminately clears every drive it can find.

One user on GitHub attested to losing all their system data, including all files stored on a 3TB external drive.

According to PC World, Valve is aware of a handful of users that have been affected by the bug, but has been unable to replicate the phenomenon itself, and is “adding some additional checks to ensure this is not possible while we continue to investigate”.

Until the bug is patched, Linux users are advised to leave their Steam installation directory exactly where it is.

Source: TechRadar

Ashley Allen

Disqus Comments Loading...

Recent Posts

Nintendo Switch Sales Surpass PlayStation 2 in the United States

In recent months, gamers have been closely monitoring Nintendo Switch sales as the console edges…

57 mins ago

Helldivers II Adds Killzone 2 Collaboration

Despite Helldivers II's popularity, fans have long felt the game lacked collaborations. Nearly a year…

8 hours ago

Call of Duty: Black Ops 6 Anti-Cheat System Didn’t Perform Well, TeamRICOCHET Admits

The anti-cheat system in Call of Duty: Black Ops 6 and Warzone has not met…

8 hours ago

NVIDIA’s New App Causes Game Slowdowns: Here’s How to Fix

The NVIDIA app, which recently replaced GeForce Experience, has gained popularity for its revamped interface…

8 hours ago

AMD May Launch Ryzen 5 9600 Non-X Variant in Late January 2025

AMD is gearing up to expand its CPU lineup in early 2025, with recent leaks…

8 hours ago

AMD Ryzen AI 7 350 from Upcoming Kraken Point Series Spotted on PassMark

Following the leak of AMD's flagship laptop CPU, another processor from the AMD Kraken Point…

9 hours ago