{"action":"created","issue":{"url":"https://api.github.com/repos/resin-io/herostratus/issues/31","labels_url":"https://api.github.com/repos/resin-io/herostratus/issues/31/labels{/name}","comments_url":"https://api.github.com/repos/resin-io/herostratus/issues/31/comments","events_url":"https://api.github.com/repos/resin-io/herostratus/issues/31/events","html_url":"https://github.com/resin-io/herostratus/issues/31","id":117666505,"number":31,"title":"Herostratus doesn't elevate on first run on OS X","user":{"login":"jviotti","id":2192773,"avatar_url":"https://avatars.githubusercontent.com/u/2192773?v=3","gravatar_id":"","url":"https://api.github.com/users/jviotti","html_url":"https://github.com/jviotti","followers_url":"https://api.github.com/users/jviotti/followers","following_url":"https://api.github.com/users/jviotti/following{/other_user}","gists_url":"https://api.github.com/users/jviotti/gists{/gist_id}","starred_url":"https://api.github.com/users/jviotti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jviotti/subscriptions","organizations_url":"https://api.github.com/users/jviotti/orgs","repos_url":"https://api.github.com/users/jviotti/repos","events_url":"https://api.github.com/users/jviotti/events{/privacy}","received_events_url":"https://api.github.com/users/jviotti/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/resin-io/herostratus/labels/platform:osx","name":"platform:osx","color":"5319e7"},{"url":"https://api.github.com/repos/resin-io/herostratus/labels/type:bug","name":"type:bug","color":"0052cc"}],"state":"open","locked":false,"assignee":{"login":"jviotti","id":2192773,"avatar_url":"https://avatars.githubusercontent.com/u/2192773?v=3","gravatar_id":"","url":"https://api.github.com/users/jviotti","html_url":"https://github.com/jviotti","followers_url":"https://api.github.com/users/jviotti/followers","following_url":"https://api.github.com/users/jviotti/following{/other_user}","gists_url":"https://api.github.com/users/jviotti/gists{/gist_id}","starred_url":"https://api.github.com/users/jviotti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jviotti/subscriptions","organizations_url":"https://api.github.com/users/jviotti/orgs","repos_url":"https://api.github.com/users/jviotti/repos","events_url":"https://api.github.com/users/jviotti/events{/privacy}","received_events_url":"https://api.github.com/users/jviotti/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-11-18T19:48:27Z","updated_at":"2015-11-19T17:21:53Z","closed_at":null,"body":"The first time you open the app (whether from the source or from a package), the elevation dialog is shown, but afterwards the elevated app never runs.\r\n\r\nRepeating the process makes it run successfully.\r\n\r\nThe issue is only reproducible by waiting some minutes (until sudo password cache is clearer)."},"comment":{"url":"https://api.github.com/repos/resin-io/herostratus/issues/comments/158126141","html_url":"https://github.com/resin-io/herostratus/issues/31#issuecomment-158126141","issue_url":"https://api.github.com/repos/resin-io/herostratus/issues/31","id":158126141,"user":{"login":"jviotti","id":2192773,"avatar_url":"https://avatars.githubusercontent.com/u/2192773?v=3","gravatar_id":"","url":"https://api.github.com/users/jviotti","html_url":"https://github.com/jviotti","followers_url":"https://api.github.com/users/jviotti/followers","following_url":"https://api.github.com/users/jviotti/following{/other_user}","gists_url":"https://api.github.com/users/jviotti/gists{/gist_id}","starred_url":"https://api.github.com/users/jviotti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jviotti/subscriptions","organizations_url":"https://api.github.com/users/jviotti/orgs","repos_url":"https://api.github.com/users/jviotti/repos","events_url":"https://api.github.com/users/jviotti/events{/privacy}","received_events_url":"https://api.github.com/users/jviotti/received_events","type":"User","site_admin":false},"created_at":"2015-11-19T17:21:53Z","updated_at":"2015-11-19T17:21:53Z","body":"The issue can be reproduced easily by removing the `sudo` cache file that `sudo-prompt` creates:\r\n\r\n```sh\r\nsudo rm /var/db/sudo/$USER\r\n```"}}