{"action":"created","issue":{"url":"https://api.github.com/repos/docker/for-win/issues/63","repository_url":"https://api.github.com/repos/docker/for-win","labels_url":"https://api.github.com/repos/docker/for-win/issues/63/labels{/name}","comments_url":"https://api.github.com/repos/docker/for-win/issues/63/comments","events_url":"https://api.github.com/repos/docker/for-win/issues/63/events","html_url":"https://github.com/docker/for-win/issues/63","id":173939056,"number":63,"title":"Mount shared folders as a different user","user":{"login":"greut","id":1388,"avatar_url":"https://avatars.githubusercontent.com/u/1388?v=3","gravatar_id":"","url":"https://api.github.com/users/greut","html_url":"https://github.com/greut","followers_url":"https://api.github.com/users/greut/followers","following_url":"https://api.github.com/users/greut/following{/other_user}","gists_url":"https://api.github.com/users/greut/gists{/gist_id}","starred_url":"https://api.github.com/users/greut/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greut/subscriptions","organizations_url":"https://api.github.com/users/greut/orgs","repos_url":"https://api.github.com/users/greut/repos","events_url":"https://api.github.com/users/greut/events{/privacy}","received_events_url":"https://api.github.com/users/greut/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/docker/for-win/labels/area/volumes","name":"area/volumes","color":"fbca04"},{"url":"https://api.github.com/repos/docker/for-win/labels/kind/feature","name":"kind/feature","color":"aab3ab"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-30T06:23:33Z","updated_at":"2016-08-30T08:21:45Z","closed_at":null,"body":"### Expected behavior\r\n\r\nA mounted volume rights can be changed.\r\n\r\nIt doesn't seem that Windows shares allows this at runtime. Would it be possible to give a UID/GID pair from the UI (or JSON config) to enable this kind of behaviour from the Mobylinux VM?\r\n\r\n```\r\n# mount -t cifs ... /c -o username=...,password=...,uid=$UID,gid=$GID,...\r\n```\r\n\r\n### Actual behavior\r\n\r\nMounted volumes belong to `root`\r\n\r\n### Information\r\n\r\nhttps://forums.docker.com/t/mounting-a-volume-as-non-root-from-windows/17548/2\r\n\r\n### Steps to reproduce the behavior\r\n\r\n  1. `$ docker run --rm -it -v c:/Users/Me:/data ls -l /data`\r\n-rwxr-xr-x 1 root root 22299 ...\r\n"},"comment":{"url":"https://api.github.com/repos/docker/for-win/issues/comments/243367648","html_url":"https://github.com/docker/for-win/issues/63#issuecomment-243367648","issue_url":"https://api.github.com/repos/docker/for-win/issues/63","id":243367648,"user":{"login":"rneugeba","id":3338098,"avatar_url":"https://avatars.githubusercontent.com/u/3338098?v=3","gravatar_id":"","url":"https://api.github.com/users/rneugeba","html_url":"https://github.com/rneugeba","followers_url":"https://api.github.com/users/rneugeba/followers","following_url":"https://api.github.com/users/rneugeba/following{/other_user}","gists_url":"https://api.github.com/users/rneugeba/gists{/gist_id}","starred_url":"https://api.github.com/users/rneugeba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rneugeba/subscriptions","organizations_url":"https://api.github.com/users/rneugeba/orgs","repos_url":"https://api.github.com/users/rneugeba/repos","events_url":"https://api.github.com/users/rneugeba/events{/privacy}","received_events_url":"https://api.github.com/users/rneugeba/received_events","type":"User","site_admin":false},"created_at":"2016-08-30T08:21:45Z","updated_at":"2016-08-30T08:21:45Z","body":"@greut thanks for the suggestion. My main concern is that if you run multiple containers than they all have to agree on the acceptable userid/groupid. Of course that is true now as well.\r\n\r\nCould you give an example of something which complains about root being the default?\r\n\r\nWould it work, if we hard code a different userid/groupid?"}}
{"actor":{"display_login":"rneugeba"}}