{"action":"opened","issue":{"url":"https://api.github.com/repos/sandstorm-io/sandstorm/issues/1200","labels_url":"https://api.github.com/repos/sandstorm-io/sandstorm/issues/1200/labels{/name}","comments_url":"https://api.github.com/repos/sandstorm-io/sandstorm/issues/1200/comments","events_url":"https://api.github.com/repos/sandstorm-io/sandstorm/issues/1200/events","html_url":"https://github.com/sandstorm-io/sandstorm/issues/1200","id":118722527,"number":1200,"title":"`make update` calls `sudo sandstorm` when Sandstorm is installed as a user","user":{"login":"sprin","id":1452117,"avatar_url":"https://avatars.githubusercontent.com/u/1452117?v=3","gravatar_id":"","url":"https://api.github.com/users/sprin","html_url":"https://github.com/sprin","followers_url":"https://api.github.com/users/sprin/followers","following_url":"https://api.github.com/users/sprin/following{/other_user}","gists_url":"https://api.github.com/users/sprin/gists{/gist_id}","starred_url":"https://api.github.com/users/sprin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sprin/subscriptions","organizations_url":"https://api.github.com/users/sprin/orgs","repos_url":"https://api.github.com/users/sprin/repos","events_url":"https://api.github.com/users/sprin/events{/privacy}","received_events_url":"https://api.github.com/users/sprin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-24T23:03:17Z","updated_at":"2015-11-24T23:03:17Z","closed_at":null,"body":"I installed Sandstorm from source, and when prompted by `sandstorm install`, I chose to run sandstorm as my own user, with the install path ~/sandstorm. I have not seen any problems with Sandstorm itself, but `make update` calls `sudo sandstorm` instead of the sandstorm binary on my user's path.\r\n\r\nThe docs do warn about this, so perhaps it is not a bug.\r\n```\r\nIf Sandstorm is already installed, you can update to your newly-built version like so:\r\n\r\n    make update\r\n\r\nNote that this only works if you installed Sandstorm to run at startup. Otherwise, you will\r\nhave to manually do:\r\n\r\n    /path/to/sandstorm update sandstorm-0.tar.xz\r\n```\r\n\r\nMy workaround was to do instead:\r\n```\r\nmake sandstorm-0-fast.tar.xz && ~/sandstorm/sandstorm update sandstorm-0-fast.tar.xz\r\n```"}}