{"action":"created","issue":{"url":"https://api.github.com/repos/ValveSoftware/steam-for-linux/issues/3671","labels_url":"https://api.github.com/repos/ValveSoftware/steam-for-linux/issues/3671/labels{/name}","comments_url":"https://api.github.com/repos/ValveSoftware/steam-for-linux/issues/3671/comments","events_url":"https://api.github.com/repos/ValveSoftware/steam-for-linux/issues/3671/events","html_url":"https://github.com/ValveSoftware/steam-for-linux/issues/3671","id":54392407,"number":3671,"title":"Moved ~/.local/share/steam. Ran steam. It deleted everything on system owned by user.","user":{"login":"keyvin","id":4281988,"avatar_url":"https://avatars.githubusercontent.com/u/4281988?v=3","gravatar_id":"","url":"https://api.github.com/users/keyvin","html_url":"https://github.com/keyvin","followers_url":"https://api.github.com/users/keyvin/followers","following_url":"https://api.github.com/users/keyvin/following{/other_user}","gists_url":"https://api.github.com/users/keyvin/gists{/gist_id}","starred_url":"https://api.github.com/users/keyvin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keyvin/subscriptions","organizations_url":"https://api.github.com/users/keyvin/orgs","repos_url":"https://api.github.com/users/keyvin/repos","events_url":"https://api.github.com/users/keyvin/events{/privacy}","received_events_url":"https://api.github.com/users/keyvin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"johnv-valve","id":3082894,"avatar_url":"https://avatars.githubusercontent.com/u/3082894?v=3","gravatar_id":"","url":"https://api.github.com/users/johnv-valve","html_url":"https://github.com/johnv-valve","followers_url":"https://api.github.com/users/johnv-valve/followers","following_url":"https://api.github.com/users/johnv-valve/following{/other_user}","gists_url":"https://api.github.com/users/johnv-valve/gists{/gist_id}","starred_url":"https://api.github.com/users/johnv-valve/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnv-valve/subscriptions","organizations_url":"https://api.github.com/users/johnv-valve/orgs","repos_url":"https://api.github.com/users/johnv-valve/repos","events_url":"https://api.github.com/users/johnv-valve/events{/privacy}","received_events_url":"https://api.github.com/users/johnv-valve/received_events","type":"User","site_admin":false},"milestone":null,"comments":119,"created_at":"2015-01-14T23:28:17Z","updated_at":"2015-01-16T16:34:59Z","closed_at":null,"body":"Edit: Please stop posting stupid image memes or unhelpful messages. This interferes with Valve's ability to sift through the noise and see if anyone can figure out what triggers it. \r\n\r\nThis may not be a common problem because I change all sorts of configuration about my system. The script in question does something in a really, really stupid way, but it probably doesn't trigger the fail scenario for every system because...\r\n\r\nOriginal Bug:\r\nI am not sure what happened. I moved the folder in the title to a drive mounted under /media/user/BLAH and symlinked /home/user/.local/steam to the new location.\r\n\r\nI launched steam. It did not launch, it offered to let me browse, and still could not find it when I pointed to the new location. Steam crashed. I restarted it. \r\n\r\nIt re-installed itself and everything looked great. Until I looked and saw that steam had apparently deleted everything owned by my user recursively from the root directory. Including my 3tb external drive I back everything up to that was mounted under /media. \r\n\r\nEverything important, for the most part, was in the cloud. It is a huge hassle, but it is not a disaster. If there is the chance that moving your steam folder can result in recursively deleting *everything* in the directory tree you should probably just throw up an error instead of trying to point to other stuff. Or you know, allow the user to pick an install directory initially like on windows. \r\n\r\nMy system is ubuntu 14.04, and the drive I moved it to was ntfs if its worth anything.  \r\n\r\n"},"comment":{"url":"https://api.github.com/repos/ValveSoftware/steam-for-linux/issues/comments/70280628","html_url":"https://github.com/ValveSoftware/steam-for-linux/issues/3671#issuecomment-70280628","issue_url":"https://api.github.com/repos/ValveSoftware/steam-for-linux/issues/3671","id":70280628,"user":{"login":"nuisanceofcats","id":97685,"avatar_url":"https://avatars.githubusercontent.com/u/97685?v=3","gravatar_id":"","url":"https://api.github.com/users/nuisanceofcats","html_url":"https://github.com/nuisanceofcats","followers_url":"https://api.github.com/users/nuisanceofcats/followers","following_url":"https://api.github.com/users/nuisanceofcats/following{/other_user}","gists_url":"https://api.github.com/users/nuisanceofcats/gists{/gist_id}","starred_url":"https://api.github.com/users/nuisanceofcats/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nuisanceofcats/subscriptions","organizations_url":"https://api.github.com/users/nuisanceofcats/orgs","repos_url":"https://api.github.com/users/nuisanceofcats/repos","events_url":"https://api.github.com/users/nuisanceofcats/events{/privacy}","received_events_url":"https://api.github.com/users/nuisanceofcats/received_events","type":"User","site_admin":false},"created_at":"2015-01-16T16:34:58Z","updated_at":"2015-01-16T16:34:58Z","body":"```\r\nrm -rf $dir/*\r\n```\r\n\r\nis just a stupid and dangerous way to do:\r\n\r\n```\r\nrm -rf $dir/\r\n```\r\n\r\nOnly the former will preserve dot files (or not, depending on shell options, shell interactivity etc.)"}}