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

Corsair Vengeance RGB EXPO 32GB Dual Channel Kit 

SetSetYesNumber of products in set2LightingLightingYesLighting ColourRGBMemoryMemory size (total)32 GBMemory TypeDDR5Number of modules2Memory Speed6000 MHzMemory voltage1.4…

2 hours ago

DeepCool AG300 CPU Cooler 

The AG300 is a compact single-tower CPU cooler representing a new generation update from the…

2 hours ago

ASUS ROG Ryujin III 240 Performance AIO CPU Liquid Cooler with OLED Display

Go cooler than cool with the ROG Ryujin III. Its roomy 3.5-inch LCD screen displays…

2 hours ago

Varmilo VEA88 Charcoal TKL Gaming Keyboard, MX-Red, White-LED

TKL mechanical keyboard with 88 keys in a UK ISO layout V-silk PBT keycaps with…

2 hours ago

Refract Gaming Indigo – 1440p/4K Pro Pre-Built Gaming PC

Pre-built gaming PC for elite tier gaming and high-quality streaming Cherry-picked hardware and hand-built by…

2 hours ago

Next Major Title Update For Dragons Dogma 2 Has Been Revealed

As I said before in this article about the best mod to get for Dragons…

2 hours ago