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

Medieval Kingdom Sim Norland Delayed, Hits Major Wishlist Milestone

A new upcoming Medieval Kingdom SIM game reminiscent of Rim World has just hit a…

1 hour ago

DEEPCOOL MATREXX 30 Tempered Glass MicroATX PC Case

Matrexx 30 is small-sized M-ATX computer case, perfect for gamers looking to build a small…

2 hours ago

Toshiba 10TB Enterprise 3.5″ SATA HDD/Hard Drive 7200rpm

As Big Data drives demand for more distributed storage in the cloud and on premises,…

2 hours ago

PNY NVIDIA GeForce RTX 4060 Ti 8GB XLR8 VERTO EPIC-X RGB Ada Lovelace Graphics Card

NVIDIA® GeForce RTX™ 40 Series GPUs are beyond fast for gamers and creators. They're powered…

2 hours ago

Cooler Master 360mm MasterLiquid 360 Atmos Intel/AMD CPU Liquid Cooler

The next generation AIO liquid cooling is here with the MasterLiquid 360 Atmos. The Atmos…

2 hours ago

Kingston NV2 4TB M.2 NVMe PCIe 4.0 SSD/Solid State Drive

Kingston’s NV2 PCIe 4.0 NVMe SSD is a substantial next-gen storage solution powered by a…

2 hours ago