Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

All files generated in the container are set to root (0) owner and group #156

Open
tomrwaller opened this issue May 8, 2021 · 0 comments
Assignees

Comments

@tomrwaller
Copy link

Describe the bug
I'm using the container to work on various CakePHP projects. When I run the container and enter bash to create the CakePHP project, all files are owned by root. By default, I cannot write to the created folder structure from a VSCode remote session. I can connect to the host and chown the files which temporarily solves the issue, but as cache files are generated fairly often and the app itself generates files too, I slowly begin losing access again, forcing another chown.

which Branch / PHP Version are you using ?
php74

Expected behavior
Filesystem in container to adhere to host permissions, or the ability to specify a user to run the container context as.

Desktop (please complete the following information):

  • OS: Windows workstation, connecting to a Ubuntu Server 20.04 server with Docker installed.
  • Browser: Chrome, Firefox
  • Docker Version: 20.10.6, build 370c289
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants