{"action":"created","issue":{"url":"https://api.github.com/repos/Rise-Vision/rise-launcher-electron/issues/311","repository_url":"https://api.github.com/repos/Rise-Vision/rise-launcher-electron","labels_url":"https://api.github.com/repos/Rise-Vision/rise-launcher-electron/issues/311/labels{/name}","comments_url":"https://api.github.com/repos/Rise-Vision/rise-launcher-electron/issues/311/comments","events_url":"https://api.github.com/repos/Rise-Vision/rise-launcher-electron/issues/311/events","html_url":"https://github.com/Rise-Vision/rise-launcher-electron/issues/311","id":150180820,"number":311,"title":"Running installer as root/sudo user creates rvplayer directory owned by root.","user":{"login":"btfrise","id":8458926,"avatar_url":"https://avatars.githubusercontent.com/u/8458926?v=3","gravatar_id":"","url":"https://api.github.com/users/btfrise","html_url":"https://github.com/btfrise","followers_url":"https://api.github.com/users/btfrise/followers","following_url":"https://api.github.com/users/btfrise/following{/other_user}","gists_url":"https://api.github.com/users/btfrise/gists{/gist_id}","starred_url":"https://api.github.com/users/btfrise/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/btfrise/subscriptions","organizations_url":"https://api.github.com/users/btfrise/orgs","repos_url":"https://api.github.com/users/btfrise/repos","events_url":"https://api.github.com/users/btfrise/events{/privacy}","received_events_url":"https://api.github.com/users/btfrise/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Rise-Vision/rise-launcher-electron/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-21T20:19:57Z","updated_at":"2016-04-21T20:30:36Z","closed_at":null,"body":"**How to recreate**\r\n1. Download http://install-versions.risevision.com/2016.04.20.21.28/installer-lnx-32.sh\r\n2. In a terminal, navigate to download folder and type chmod +x installer-lnx-32.sh\r\n3. In a terminal type sudo ./installer-lnx-32.sh\r\n\r\n**What happens**\r\nRise Player Uncompresses. Warning message about running rise player as root user displays, and installation is canceled. Trying again to run as an unprivileged user by typing ./installer-lnx-32.sh fails with the error message \"Extraction failed\".\r\n\r\nNavigate back to home directory and type ls -l. You will see that the rvplayer directory exists and it is owned by root.\r\n\r\n**What should happen**\r\nInstallation should check for installer running as a root user before extraction. If running as a root user, error message should display and terminate installation immediately. No rvplayer directory should be created.\r\n\r\n**Notes**\r\nUbuntu 14.04 32bit\r\nYou can fix this by typing sudo chown -R computername.username /home/username. Further installs of Rise Player running as a non-privileged user succeed. "},"comment":{"url":"https://api.github.com/repos/Rise-Vision/rise-launcher-electron/issues/comments/213101918","html_url":"https://github.com/Rise-Vision/rise-launcher-electron/issues/311#issuecomment-213101918","issue_url":"https://api.github.com/repos/Rise-Vision/rise-launcher-electron/issues/311","id":213101918,"user":{"login":"hcs0","id":5868781,"avatar_url":"https://avatars.githubusercontent.com/u/5868781?v=3","gravatar_id":"","url":"https://api.github.com/users/hcs0","html_url":"https://github.com/hcs0","followers_url":"https://api.github.com/users/hcs0/followers","following_url":"https://api.github.com/users/hcs0/following{/other_user}","gists_url":"https://api.github.com/users/hcs0/gists{/gist_id}","starred_url":"https://api.github.com/users/hcs0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hcs0/subscriptions","organizations_url":"https://api.github.com/users/hcs0/orgs","repos_url":"https://api.github.com/users/hcs0/repos","events_url":"https://api.github.com/users/hcs0/events{/privacy}","received_events_url":"https://api.github.com/users/hcs0/received_events","type":"User","site_admin":false},"created_at":"2016-04-21T20:30:36Z","updated_at":"2016-04-21T20:30:36Z","body":"Not able to recreate on Linux x64 \r\nI delete any existing folders, enter root, attempt the installation and see the message against sudo.  I then exit and was able to finish the installation.\r\n\r\nThe rvplayer folder after this is in the rise group (not sudo)"}}