{"action":"opened","issue":{"url":"https://api.github.com/repos/jboss-dockerfiles/wildfly/issues/11","labels_url":"https://api.github.com/repos/jboss-dockerfiles/wildfly/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/jboss-dockerfiles/wildfly/issues/11/comments","events_url":"https://api.github.com/repos/jboss-dockerfiles/wildfly/issues/11/events","html_url":"https://github.com/jboss-dockerfiles/wildfly/issues/11","id":54520425,"number":11,"title":"Unable to chown files using jboss/wildfly image","user":{"login":"dkfi","id":1541711,"avatar_url":"https://avatars.githubusercontent.com/u/1541711?v=3","gravatar_id":"","url":"https://api.github.com/users/dkfi","html_url":"https://github.com/dkfi","followers_url":"https://api.github.com/users/dkfi/followers","following_url":"https://api.github.com/users/dkfi/following{/other_user}","gists_url":"https://api.github.com/users/dkfi/gists{/gist_id}","starred_url":"https://api.github.com/users/dkfi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dkfi/subscriptions","organizations_url":"https://api.github.com/users/dkfi/orgs","repos_url":"https://api.github.com/users/dkfi/repos","events_url":"https://api.github.com/users/dkfi/events{/privacy}","received_events_url":"https://api.github.com/users/dkfi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-01-15T23:32:23Z","updated_at":"2015-01-15T23:32:23Z","closed_at":null,"body":"In my Dockerfile I ADD a file and then RUN chown on it but I get a permission denied error. The file gets added as user root but I would like it to be set as jboss:jboss. I then ran \"docker exec -it my_id bash\" to inspect the container and noticed that the shell starts with user jboss. Is there a way to become root user or to be able to chown the file? I also wonder how the shell restriction to jboss user was done."}}