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
Phil Spencer has spoken out against what he calls "manipulative expansions"—additional content derived from material…
Razer has introduced the USB 4 Dock, a high-performance accessory designed to combine ultra-fast data…
A major supplier of GPU cooling components has indicated that we could see the arrival…
MSI first unveiled its top-tier AM5 motherboard, the MEG X870E GODLIKE, in August this year.…
80% UltraFast Recharging in 43 Minutes: Be ready for adventure in 43 minutes (100% in…
Powered by Intel's 13th Generation i7-13620H 10 Core Processor Dedicated NVIDIA GeForce RTX 4070 (140…