Categories: 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 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

Arctic Launches its P14 RGB & P14 A-RGB Fans

ARCTIC has announced the expansion of its RGB fan portfolio with the launch of new…

6 hours ago

Biostar Registers Intel Raptor Lake-S Z790 & B760 Motherboards With EEC

With the release of Intel's 13th-gen Raptor Lake-S processors expected to be made later this…

6 hours ago

AMD Radeon RX 6500 XT Retail Prices Revealed (It’s Not Good News)

Following the announcement of the AMD Radeon RX 6500 XT GPU earlier this month, while…

6 hours ago

EKWB Launch its EK-Quantum Torque Micro Rotary 90° Fittings for SFF Builds

EK Water Blocks (EKWB) is expanding the Quantum Torque fittings line with Micro Rotary adapter…

6 hours ago

God Of War PC Devs Offer Workaround For “Out of Memory” Error

Despite the fact that it's only January, God of War is already looking to potentially…

6 hours ago

AMD Plans Radeon 6000 Desktop Revisions with Faster Memory?

When it comes to graphic card revisions, I think it would be fair to say…

6 hours ago