{"action":"created","issue":{"url":"https://api.github.com/repos/hashicorp/otto/issues/408","repository_url":"https://api.github.com/repos/hashicorp/otto","labels_url":"https://api.github.com/repos/hashicorp/otto/issues/408/labels{/name}","comments_url":"https://api.github.com/repos/hashicorp/otto/issues/408/comments","events_url":"https://api.github.com/repos/hashicorp/otto/issues/408/events","html_url":"https://github.com/hashicorp/otto/issues/408","id":126748691,"number":408,"title":"wrong ownership of /opt/gopath/src","user":{"login":"bastiaanb","id":4092716,"avatar_url":"https://avatars.githubusercontent.com/u/4092716?v=3","gravatar_id":"","url":"https://api.github.com/users/bastiaanb","html_url":"https://github.com/bastiaanb","followers_url":"https://api.github.com/users/bastiaanb/followers","following_url":"https://api.github.com/users/bastiaanb/following{/other_user}","gists_url":"https://api.github.com/users/bastiaanb/gists{/gist_id}","starred_url":"https://api.github.com/users/bastiaanb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bastiaanb/subscriptions","organizations_url":"https://api.github.com/users/bastiaanb/orgs","repos_url":"https://api.github.com/users/bastiaanb/repos","events_url":"https://api.github.com/users/bastiaanb/events{/privacy}","received_events_url":"https://api.github.com/users/bastiaanb/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-01-14T21:09:49Z","updated_at":"2016-02-10T07:45:30Z","closed_at":null,"body":"When running `otto compile ; otto dev` on a Go project (tested with Nomad), the Go 1.5 layer will create `/opt/gopath` with owner `vagrant`. `/opt/gopath/src` is owned by root however:\r\n\r\n```\r\nvagrant@precise64:/opt/gopath/src/github.com/hashicorp/nomad$ ls -lsa /opt/gopath/\r\ntotal 12\r\n4 drwxr-xr-x 3 vagrant vagrant 4096 Jan 14 20:46 .\r\n4 drwxr-xr-x 5 root    root    4096 Jan 14 20:44 ..\r\n4 drwxr-xr-x 3 root    root    4096 Jan 14 20:46 src\r\n```\r\n\r\nthis prohibits any attempted installation of dependencies in this directory by the build. `make bootstrap` and `make dev` in this case.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/hashicorp/otto/issues/comments/182239502","html_url":"https://github.com/hashicorp/otto/issues/408#issuecomment-182239502","issue_url":"https://api.github.com/repos/hashicorp/otto/issues/408","id":182239502,"user":{"login":"RobbieMcKinstry","id":4955075,"avatar_url":"https://avatars.githubusercontent.com/u/4955075?v=3","gravatar_id":"","url":"https://api.github.com/users/RobbieMcKinstry","html_url":"https://github.com/RobbieMcKinstry","followers_url":"https://api.github.com/users/RobbieMcKinstry/followers","following_url":"https://api.github.com/users/RobbieMcKinstry/following{/other_user}","gists_url":"https://api.github.com/users/RobbieMcKinstry/gists{/gist_id}","starred_url":"https://api.github.com/users/RobbieMcKinstry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RobbieMcKinstry/subscriptions","organizations_url":"https://api.github.com/users/RobbieMcKinstry/orgs","repos_url":"https://api.github.com/users/RobbieMcKinstry/repos","events_url":"https://api.github.com/users/RobbieMcKinstry/events{/privacy}","received_events_url":"https://api.github.com/users/RobbieMcKinstry/received_events","type":"User","site_admin":false},"created_at":"2016-02-10T07:45:30Z","updated_at":"2016-02-10T07:45:30Z","body":"bump"}}