wordup-dev / wordup-cli

Wordup is a fully integrated development platform for WordPress. Develop plugins and themes locally. Preview in the cloud. Automatic updates in WP.
GNU General Public License v3.0
118 stars 16 forks source link

File permission issues #1

Closed shry closed 5 years ago

shry commented 5 years ago

The user used inside the container might not have rights to the folder (/src and /dist) on the host machine. Docker-compose bind mounts the /src and /dist folder and especially on linux, with restricted user rights, this might result in file permission issues.

This issue occurs:

shry commented 5 years ago

This issue is fixed. Based on https://jtreminio.com/blog/running-docker-containers-as-current-host-user/ now the docker users will have the same uid as the host user. Also all mount bind volumes like /src or /dist are created upfront to prevent permission issues on linux.