fix chown permission issue custom_apps dir#686
Conversation
|
@J0WI there are 3 reason i can think of:
i don't think it makes sense to merge this, it is only really useful if you mount a host folder into the container. And in this situation it's reasonable to either change to owner/permissions manually or run the container with the right uid. |
Changing the ownership on the host doesn't affect the mount in the docker container since it is not the mounted directory itself: Somehow Docker changes the user of the Also I'm not sure how to run the container with a different user correctly: Docker doesn't start with user |
|
@onny have you tried starting it with |
|
I think this is because of the folder creation... |
localhost:8080: |
|
@onny sorry i forgot, you also need |
|
@tilosp thanks for helping out. here is the result: other test other test in any case getting the nextcloud error:
|
|
are you trying to setup a dev environment? if this is the case take a look at https://github.com/David-Development/nextcloud-dev-docker |
|
@tilosp yep thats the case. I also used different nextcloud docker containers successfully before but I was hoping to get the official one running :/ |
|
@onny it's based on the official one, and it might later become the official dev image |
|
What's the recommended docker-compose setup for app development nowadays? This issue still prevents the use of the official images and nextcloud-dev-docker is abandoned. |
|
Closing in favour of #1964 |
Fix issue #620 mounting custom app with correct permissions
So the mount to /var/www/html/custom_apps gets the correct permissions, otherwise web based installation page throws an error.