{"action":"closed","issue":{"url":"https://api.github.com/repos/docker/docker/issues/12779","labels_url":"https://api.github.com/repos/docker/docker/issues/12779/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/12779/comments","events_url":"https://api.github.com/repos/docker/docker/issues/12779/events","html_url":"https://github.com/docker/docker/issues/12779","id":70860067,"number":12779,"title":"Unable to chmod 755 for a file that should be created on an external volume.","user":{"login":"icy","id":75696,"avatar_url":"https://avatars.githubusercontent.com/u/75696?v=3","gravatar_id":"","url":"https://api.github.com/users/icy","html_url":"https://github.com/icy","followers_url":"https://api.github.com/users/icy/followers","following_url":"https://api.github.com/users/icy/following{/other_user}","gists_url":"https://api.github.com/users/icy/gists{/gist_id}","starred_url":"https://api.github.com/users/icy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/icy/subscriptions","organizations_url":"https://api.github.com/users/icy/orgs","repos_url":"https://api.github.com/users/icy/repos","events_url":"https://api.github.com/users/icy/events{/privacy}","received_events_url":"https://api.github.com/users/icy/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-25T05:58:38Z","updated_at":"2015-04-25T14:03:50Z","closed_at":"2015-04-25T14:03:50Z","body":"I have a volume from a base image. In new Dockerfile for new image, I use `ADD` to add a script to that volume, and then use `chmod 755` to fix the permission. However, the final image stills has permission 644 for the file.\r\n\r\nAlso note that the symlink will not work. All details can be found here https://github.com/icy/docker/tree/master/bugs/chmod_bug\r\n\r\nI am not sure how Docker volume works, so this may not be a bug. But it's quite annoyed.\r\n\r\nThank you."}}