Linux Steam players should not move the Steam directory

Samir Faci samir at
Fri Jan 16 14:04:56 PST 2015

no..   $STEAMROOT doesn't default to /, it defaults to blank.  The issue is

"$STEAMROOT/"   becomes  / when it's unset.

What they should have done is check if the parameter is set and error out
way before using the variable.

Also using tests, or something that's a bit more powerful and more geared
towards testability like ruby/python or hell even perl.

It's actually a pretty easy fix.  It's just a really dumb mistake to over

On Fri, Jan 16, 2015 at 1:08 PM, Rick Moen <rick at> wrote:

> On Fri, Jan 16, 2015 at 9:36 AM, Ken Shaffer
> <Kenneth_C_Shaffer at> wrote:
> > Any Steam players, note the danger of moving the Steam directory:
> >
> > ALL files owned by you from / on down will be removed.
> Point 1:  That's a serious indictment of whoever wrote and maintains
>  Worse, the comment just above the fatal script line proves
> that someone knew it was a really bad idea:
> 358: # Scary!
> 359: rm -rf "$STEAMROOT/"*
> This is particularly scary given that there's allegedly no provision
> in the installer to specify the installation target, and I gather that
> $STEAMROOT defaults to the root directory.
> What can I say?  Gamer kiddies on stimulants should not be allowed to code.
> Point 2:  No Linux distro would have accepted this sort of
> incompetence.  Y'all should be wary of going outside the distro
> package maintenance regimes to install third-party software, as you
> have little to no standard of quality assurance, and things like this
> can and do happen.

Thank you
Samir Faci
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the sf-lug mailing list