{"action":"created","issue":{"url":"https://api.github.com/repos/concourse/concourse/issues/493","repository_url":"https://api.github.com/repos/concourse/concourse","labels_url":"https://api.github.com/repos/concourse/concourse/issues/493/labels{/name}","comments_url":"https://api.github.com/repos/concourse/concourse/issues/493/comments","events_url":"https://api.github.com/repos/concourse/concourse/issues/493/events","html_url":"https://github.com/concourse/concourse/issues/493","id":162018941,"number":493,"title":"Set up buildroot permissions for non-root access","user":{"login":"geofffranks","id":7180882,"avatar_url":"https://avatars.githubusercontent.com/u/7180882?v=3","gravatar_id":"","url":"https://api.github.com/users/geofffranks","html_url":"https://github.com/geofffranks","followers_url":"https://api.github.com/users/geofffranks/followers","following_url":"https://api.github.com/users/geofffranks/following{/other_user}","gists_url":"https://api.github.com/users/geofffranks/gists{/gist_id}","starred_url":"https://api.github.com/users/geofffranks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geofffranks/subscriptions","organizations_url":"https://api.github.com/users/geofffranks/orgs","repos_url":"https://api.github.com/users/geofffranks/repos","events_url":"https://api.github.com/users/geofffranks/events{/privacy}","received_events_url":"https://api.github.com/users/geofffranks/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/concourse/concourse/labels/unscheduled","name":"unscheduled","color":"e4eff7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-06-23T20:45:01Z","updated_at":"2016-06-23T20:48:16Z","closed_at":null,"body":"In https://concourse.ci/running-tasks.html, it mentions that we can use the `USER` rule in our Dockerfile to control what user a task runs as. However, when doing so, that user doesn't have access to write into the build directory.\r\n\r\nFor my immediate case, it means I cannot run `godep restore` on code that was placed in the build as an input. I also suspect it will mean that i cannot create/write to output directories from this task.\r\n\r\nCan concourse be made to change permissions on the build directory to the user specified in the dockerfile?"},"comment":{"url":"https://api.github.com/repos/concourse/concourse/issues/comments/228178961","html_url":"https://github.com/concourse/concourse/issues/493#issuecomment-228178961","issue_url":"https://api.github.com/repos/concourse/concourse/issues/493","id":228178961,"user":{"login":"concourse-bot","id":13429001,"avatar_url":"https://avatars.githubusercontent.com/u/13429001?v=3","gravatar_id":"","url":"https://api.github.com/users/concourse-bot","html_url":"https://github.com/concourse-bot","followers_url":"https://api.github.com/users/concourse-bot/followers","following_url":"https://api.github.com/users/concourse-bot/following{/other_user}","gists_url":"https://api.github.com/users/concourse-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/concourse-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/concourse-bot/subscriptions","organizations_url":"https://api.github.com/users/concourse-bot/orgs","repos_url":"https://api.github.com/users/concourse-bot/repos","events_url":"https://api.github.com/users/concourse-bot/events{/privacy}","received_events_url":"https://api.github.com/users/concourse-bot/received_events","type":"User","site_admin":false},"created_at":"2016-06-23T20:48:16Z","updated_at":"2016-06-23T20:48:16Z","body":"Hi there!\n\nWe use Pivotal Tracker to provide visibility into what our team is working on. A story for this issue has been automatically created.\n\nThe current status is as follows:\n\n* [ ] [#122160491](https://www.pivotaltracker.com/story/show/122160491) Set up buildroot permissions for non-root access\n\n\nThis comment, as well as the labels on the issue, will be automatically updated as the status in Tracker changes."}}
{"actor":{"display_login":"concourse-bot"}}