{"action":"closed","issue":{"url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/11020","labels_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/11020/labels{/name}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/11020/comments","events_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/11020/events","html_url":"https://github.com/GoogleCloudPlatform/kubernetes/issues/11020","id":94166297,"number":11020,"title":"Controlling UID/GID of EmptyDir volume","user":{"login":"pmorie","id":366488,"avatar_url":"https://avatars.githubusercontent.com/u/366488?v=3","gravatar_id":"","url":"https://api.github.com/users/pmorie","html_url":"https://github.com/pmorie","followers_url":"https://api.github.com/users/pmorie/followers","following_url":"https://api.github.com/users/pmorie/following{/other_user}","gists_url":"https://api.github.com/users/pmorie/gists{/gist_id}","starred_url":"https://api.github.com/users/pmorie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pmorie/subscriptions","organizations_url":"https://api.github.com/users/pmorie/orgs","repos_url":"https://api.github.com/users/pmorie/repos","events_url":"https://api.github.com/users/pmorie/events{/privacy}","received_events_url":"https://api.github.com/users/pmorie/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/labels/priority/P2","name":"priority/P2","color":"fbca04"},{"url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/labels/team/cluster","name":"team/cluster","color":"d2b48c"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-07-09T22:26:00Z","updated_at":"2015-07-10T03:29:41Z","closed_at":"2015-07-10T03:29:41Z","body":"Currently the emptyDir volume is owned by root:root.  Long-term, the uid/gid of this type of volume (and others based on it) should be set by the effective uid/gid of the container.\r\n\r\nI'll write more on this later, wanted to create the issue before I forgot about this.  Spoiler alert: I think we can do this only for limited cases without the user namespace.\r\n\r\n@thockin @erictune @ncdc @eparis @timothysc \r\n\r\nIt's arguable that other volume types should handle this too.\r\n\r\n@jmccormick2001 is hitting this currently with emptyDir and nfs IIRC"}}