{"action":"opened","issue":{"url":"https://api.github.com/repos/docker/for-mac/issues/3214","repository_url":"https://api.github.com/repos/docker/for-mac","labels_url":"https://api.github.com/repos/docker/for-mac/issues/3214/labels{/name}","comments_url":"https://api.github.com/repos/docker/for-mac/issues/3214/comments","events_url":"https://api.github.com/repos/docker/for-mac/issues/3214/events","html_url":"https://github.com/docker/for-mac/issues/3214","id":358410329,"node_id":"MDU6SXNzdWUzNTg0MTAzMjk=","number":3214,"title":"Permissions are not specific in tmpfs subdirectory of volume directory","user":{"login":"Kwadz","id":1472599,"node_id":"MDQ6VXNlcjE0NzI1OTk=","avatar_url":"https://avatars3.githubusercontent.com/u/1472599?v=4","gravatar_id":"","url":"https://api.github.com/users/Kwadz","html_url":"https://github.com/Kwadz","followers_url":"https://api.github.com/users/Kwadz/followers","following_url":"https://api.github.com/users/Kwadz/following{/other_user}","gists_url":"https://api.github.com/users/Kwadz/gists{/gist_id}","starred_url":"https://api.github.com/users/Kwadz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kwadz/subscriptions","organizations_url":"https://api.github.com/users/Kwadz/orgs","repos_url":"https://api.github.com/users/Kwadz/repos","events_url":"https://api.github.com/users/Kwadz/events{/privacy}","received_events_url":"https://api.github.com/users/Kwadz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-09T20:41:55Z","updated_at":"2018-09-09T20:41:55Z","closed_at":null,"author_association":"NONE","body":"Let's assume this docker-compose.yml:\r\n\r\n```\r\nversion: '3'\r\n\r\nservices:\r\n  website:\r\n    build:\r\n      context: .\r\n      dockerfile: ./.docker/php/Dockerfile\r\n    volumes:\r\n      - .:/var/www/html/\r\n    tmpfs:\r\n      - /var/www/html/app/cache/\r\n```\r\n\r\n**Expected behaviour:** the permissions of `/var/www/html/app/cache/` should be 1777 (the default for _tmpfs-mode_).\r\n\r\n**Actual behavior:**  the permissions of `/var/www/html/app/cache/` is overridden by the permissions of `/var/www/html/`\r\n\r\nThis feature could help a lot about performance, by defining the cache directory of a project as a tmpfs volume."}}
{"actor":{"display_login":"Kwadz"}}