forked from cytopia/devilbox
-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
questionFurther information is requestedFurther information is requested
Description
Have you already checked elsewhere?
- I have read the Devilbox documentation
- I have checked the Devilbox Troubleshooting Guide
- I have checked the Devilbox FAQ
- I have checked the Devilbox Howto
- I have checked the Devilbox Forum
- I have checked existing issues
- I have googled already with no luck
- I have not done any of the above
What are you struggling with?
I’m experiencing file and folder permission issues when creating new projects with Devilbox. Specifically:
- When I create a project via shell.sh or directly on my host, I sometimes cannot edit files or folders from the host or my IDE due to permission errors.
- Sometimes, the application is not accessible from my host, also due to permission issues.
I want to be able to both edit files from the shell and access the application from my host without running into permission problems.
I have checked my .env configuration and Docker setup, but I’m not sure how to properly synchronize permissions between the host and the container.
What have you tried already?
I have already tried:
- Checking and modifying the HOST_UID and HOST_GID variables in .env to match my host user.
- Creating projects both via shell.sh and directly in the ./data/www folder on the host.
- Restarting containers after each permission change.
- Manually changing folder permissions using chmod and chown.
Despite all this, the permission issues still occur, either when editing from the host/IDE or when accessing the application via the browser.
What is your goal?
My goal is to be able to create new projects in Devilbox and:
- Edit all files and folders from the host or my IDE without encountering permission errors.
- Access the applications via the browser from my host without any permission issues.
In short, I want the permission synchronization between the container and the host to work correctly for all projects.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested