{"action":"created","issue":{"url":"https://api.github.com/repos/docker/for-win/issues/1095","repository_url":"https://api.github.com/repos/docker/for-win","labels_url":"https://api.github.com/repos/docker/for-win/issues/1095/labels{/name}","comments_url":"https://api.github.com/repos/docker/for-win/issues/1095/comments","events_url":"https://api.github.com/repos/docker/for-win/issues/1095/events","html_url":"https://github.com/docker/for-win/issues/1095","id":257732761,"number":1095,"title":"Unable to open the daemon.json config file (Access Denied)","user":{"login":"metu","id":3936159,"avatar_url":"https://avatars0.githubusercontent.com/u/3936159?v=4","gravatar_id":"","url":"https://api.github.com/users/metu","html_url":"https://github.com/metu","followers_url":"https://api.github.com/users/metu/followers","following_url":"https://api.github.com/users/metu/following{/other_user}","gists_url":"https://api.github.com/users/metu/gists{/gist_id}","starred_url":"https://api.github.com/users/metu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/metu/subscriptions","organizations_url":"https://api.github.com/users/metu/orgs","repos_url":"https://api.github.com/users/metu/repos","events_url":"https://api.github.com/users/metu/events{/privacy}","received_events_url":"https://api.github.com/users/metu/received_events","type":"User","site_admin":false},"labels":[{"id":415754830,"url":"https://api.github.com/repos/docker/for-win/labels/area/mounts","name":"area/mounts","color":"fbca04","default":false},{"id":415755103,"url":"https://api.github.com/repos/docker/for-win/labels/area/windows%2010","name":"area/windows 10","color":"fbca04","default":false},{"id":415756290,"url":"https://api.github.com/repos/docker/for-win/labels/kind/enhancement","name":"kind/enhancement","color":"E8CaAF","default":false},{"id":463833816,"url":"https://api.github.com/repos/docker/for-win/labels/status/2-in-progress","name":"status/2-in-progress","color":"e99695","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-09-14T14:07:58Z","updated_at":"2017-11-01T12:45:03Z","closed_at":"2017-09-15T06:24:50Z","author_association":"NONE","body":"### Expected behavior\r\nAble to open and edit the daemon.json config file.\r\n### Actual behavior\r\n'Access is denied' error is thrown when trying to open the file in notepad/ notepad++/ Code Writer/ (any text editor) while having the text editors opened as Administrator.\r\n### Information\r\nMy first time trying to use docker.\r\n\r\nI'm trying to change the directory where the container images are saved to by editing the daemon.json file as specified in the https://docs.docker.com/engine/admin/#configure-the-docker-daemon link.\r\n\r\n\r\n### Steps to reproduce the behavior\r\n\r\nEnable Windows feature 'Containers'\r\nRestart\r\nInstall Docker for windows (v17.06.2-ce)\r\nNavigate to the daemon.json file (C:\\ProgramData\\Docker\\config)\r\nTry opening the file.\r\n\r\n[log.txt](https://github.com/docker/for-win/files/1303279/log.txt)\r\n"},"comment":{"url":"https://api.github.com/repos/docker/for-win/issues/comments/341096256","html_url":"https://github.com/docker/for-win/issues/1095#issuecomment-341096256","issue_url":"https://api.github.com/repos/docker/for-win/issues/1095","id":341096256,"user":{"login":"metu","id":3936159,"avatar_url":"https://avatars0.githubusercontent.com/u/3936159?v=4","gravatar_id":"","url":"https://api.github.com/users/metu","html_url":"https://github.com/metu","followers_url":"https://api.github.com/users/metu/followers","following_url":"https://api.github.com/users/metu/following{/other_user}","gists_url":"https://api.github.com/users/metu/gists{/gist_id}","starred_url":"https://api.github.com/users/metu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/metu/subscriptions","organizations_url":"https://api.github.com/users/metu/orgs","repos_url":"https://api.github.com/users/metu/repos","events_url":"https://api.github.com/users/metu/events{/privacy}","received_events_url":"https://api.github.com/users/metu/received_events","type":"User","site_admin":false},"created_at":"2017-11-01T12:45:03Z","updated_at":"2017-11-01T12:45:03Z","author_association":"NONE","body":"mmmhhh... @vikmn Editing the file through the settings interface worked for me. However I think I may have altered the security of the file by changing the ownership of the file to my user as well, by right clicking on the file and selecting Properties and then selecting the Security tab and then Advanced (Properties -> Security -> Advanced). I then clicked on Change next to the Owner title and proceeded to enter my username.\r\n\r\n![image](https://user-images.githubusercontent.com/3936159/32275251-3264c2c2-bf13-11e7-989f-5609e72976d1.png)\r\n"}}
{"actor":{"display_login":"metu"}}