Here?s the problem: When Steam installs itself, it sets its own active directory to $STEAMROOT. If the user then moves the Steam directory, when the system attempts to run ?rm -rf ?$STEAMROOT/?*. This command tells the system to remove all subfolders and directories from STEAMROOT, including the STEAMROOT directory itself.
When that command fails to execute, typically because the end-user has moved the install directory to a different drive, the system interprets this failing as ?rm -rf ?/?. For those of you not familiar with the Bash script, that command means ?Delete everything on the hard drive.? Since Linux doesn?t give the userspace permission to touch core operating system files, the only thing that gets dumped is all the data in user-land. The command shouldn?t touch files on alternate hard drives, but since most user data is stored on the OS disk, the damage is enough to care about.
When that command fails to execute, typically because the end-user has moved the install directory to a different drive, the system interprets this failing as ?rm -rf ?/?. For those of you not familiar with the Bash script, that command means ?Delete everything on the hard drive.? Since Linux doesn?t give the userspace permission to touch core operating system files, the only thing that gets dumped is all the data in user-land. The command shouldn?t touch files on alternate hard drives, but since most user data is stored on the OS disk, the damage is enough to care about.
Comment