impossible to move steam dir out of /home
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)