impossible to move steam dir out of /home

Bug #1573729 reported by Bas Zoetekouw
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
steam (Ubuntu)
New
Undecided
Unassigned

Bug Description

I would like to move the contents of ~/.steam to a different location (so all this stuff won't be backupped). That shuld be easily doable by symlinking ~/.steam to the new location.
However, the script /usr/games/steam explicitly does a "test -d ~/.steam", which fails if ~/.steam is a symlink to a directory. Specifically, it performs the following test:

test ! -d $config && rm -rf $config && mkdir -p $config || true

The rm -rf seems rather unwise to me: everything in the users home dir belongs to the user, and never ever should anything there be deleted automatically.

Still, if you really want to do this, please make the check "test $(stat -L --printf=%F $config)='directory'" instead of a simple "test -d", to allow users to replace ~/.steam with a symlink to location more suitable to their local system setup.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.