{"action":"created","issue":{"url":"https://api.github.com/repos/dunglas/symfony-docker/issues/14","repository_url":"https://api.github.com/repos/dunglas/symfony-docker","labels_url":"https://api.github.com/repos/dunglas/symfony-docker/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/dunglas/symfony-docker/issues/14/comments","events_url":"https://api.github.com/repos/dunglas/symfony-docker/issues/14/events","html_url":"https://github.com/dunglas/symfony-docker/issues/14","id":270352859,"node_id":"MDU6SXNzdWUyNzAzNTI4NTk=","number":14,"title":"Permissions issue on ubuntu","user":{"login":"vonalbert","id":6561324,"node_id":"MDQ6VXNlcjY1NjEzMjQ=","avatar_url":"https://avatars2.githubusercontent.com/u/6561324?v=4","gravatar_id":"","url":"https://api.github.com/users/vonalbert","html_url":"https://github.com/vonalbert","followers_url":"https://api.github.com/users/vonalbert/followers","following_url":"https://api.github.com/users/vonalbert/following{/other_user}","gists_url":"https://api.github.com/users/vonalbert/gists{/gist_id}","starred_url":"https://api.github.com/users/vonalbert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vonalbert/subscriptions","organizations_url":"https://api.github.com/users/vonalbert/orgs","repos_url":"https://api.github.com/users/vonalbert/repos","events_url":"https://api.github.com/users/vonalbert/events{/privacy}","received_events_url":"https://api.github.com/users/vonalbert/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2017-11-01T15:45:41Z","updated_at":"2018-10-16T09:03:22Z","closed_at":null,"author_association":"NONE","body":"When running the project on ubuntu with `docker-compose up -d`, flex generates the directory tree as root user, with the exception of the var directory because of `chown -R www-data var`.\r\nBelow is the output of the `ls` command on the project root.\r\n```\r\ndrwxr-xr-x 10 root    root     4096 nov  1 15:36 ./\r\ndrwxr-xr-x 16 alberto alberto  4096 ott 31 13:47 ../\r\ndrwxr-xr-x  2 root    root     4096 nov  1 15:36 bin/\r\n-rw-r--r--  1 root    root     1179 nov  1 15:36 composer.json\r\n-rw-r--r--  1 root    root    48139 nov  1 15:36 composer.lock\r\ndrwxr-xr-x  3 root    root     4096 nov  1 15:36 config/\r\ndrwxr-xr-x  5 alberto alberto  4096 ott 19 22:47 docker/\r\n-rw-r--r--  1 alberto alberto   635 nov  1 11:46 docker-compose.yaml\r\n-rw-r--r--  1 alberto alberto  1991 nov  1 14:47 Dockerfile\r\n-rw-r--r--  1 alberto alberto   735 ott 19 22:47 Dockerfile.h2-proxy\r\n-rw-r--r--  1 alberto alberto    97 ott 19 22:47 Dockerfile.nginx\r\n-rw-r--r--  1 alberto alberto   119 ott 19 22:47 .dockerignore\r\n-rw-r--r--  1 root    root      433 nov  1 15:36 .env\r\n-rw-r--r--  1 root    root      433 nov  1 15:36 .env.dist\r\n-rw-r--r--  1 root    root      106 nov  1 15:36 .gitignore\r\ndrwxrwxr-x  3 alberto alberto  4096 nov  1 15:32 .idea/\r\ndrwxr-xr-x  3 root    root     4096 nov  1 15:36 public/\r\ndrwxr-xr-x  3 root    root     4096 nov  1 15:36 src/\r\n-rw-r--r--  1 root    root     2156 nov  1 15:36 symfony.lock\r\ndrwxrwxrwx  4      82 root     4096 nov  1 15:36 var/\r\ndrwxr-xr-x  5 root    root     4096 nov  1 15:36 vendor/\r\n```\r\nThe project is runnable (I can browse it at localhost), but the files are not directly editable without manually changing the owner of the entire project.\r\n\r\nI wonder if exists a way to automate this, or if I'm doing something wrong :)"},"comment":{"url":"https://api.github.com/repos/dunglas/symfony-docker/issues/comments/430159450","html_url":"https://github.com/dunglas/symfony-docker/issues/14#issuecomment-430159450","issue_url":"https://api.github.com/repos/dunglas/symfony-docker/issues/14","id":430159450,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMDE1OTQ1MA==","user":{"login":"vonalbert","id":6561324,"node_id":"MDQ6VXNlcjY1NjEzMjQ=","avatar_url":"https://avatars2.githubusercontent.com/u/6561324?v=4","gravatar_id":"","url":"https://api.github.com/users/vonalbert","html_url":"https://github.com/vonalbert","followers_url":"https://api.github.com/users/vonalbert/followers","following_url":"https://api.github.com/users/vonalbert/following{/other_user}","gists_url":"https://api.github.com/users/vonalbert/gists{/gist_id}","starred_url":"https://api.github.com/users/vonalbert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vonalbert/subscriptions","organizations_url":"https://api.github.com/users/vonalbert/orgs","repos_url":"https://api.github.com/users/vonalbert/repos","events_url":"https://api.github.com/users/vonalbert/events{/privacy}","received_events_url":"https://api.github.com/users/vonalbert/received_events","type":"User","site_admin":false},"created_at":"2018-10-16T09:03:22Z","updated_at":"2018-10-16T09:03:22Z","author_association":"NONE","body":"Ok, I can take care of it.\nI'll add the pull request later when I'll take a break from work 😊\n\nIl giorno mar 16 ott 2018 alle ore 09:28 Maxime Helias <\nnotifications@github.com> ha scritto:\n\n> All alright, you want to make a PR to add this command in the readme for\n> ubuntu users ? 😊\n>\n> —\n> You are receiving this because you authored the thread.\n> Reply to this email directly, view it on GitHub\n> <https://github.com/dunglas/symfony-docker/issues/14#issuecomment-430130759>,\n> or mute the thread\n> <https://github.com/notifications/unsubscribe-auth/AGQeLOj66T8JrnnGj4PloyaVs3uo1Hlsks5ulYqYgaJpZM4QOZON>\n> .\n>\n\n\n-- \n*Alberto Avon*\n"}}
{"actor":{"display_login":"vonalbert"}}