plugin-development-docker icon indicating copy to clipboard operation
plugin-development-docker copied to clipboard

Fix file permissions

Open Djennez opened this issue 5 years ago • 1 comments

chown in start.sh was changed from /var/www/ to /var/www/.wp-cli to speed up the starting process. But this has impications for Linux systems which can get into file permission issues this way.

Djennez avatar Jul 27 '20 10:07 Djennez

Temporary fix seems to be to add docker exec -ti basic-wordpress /bin/bash -c 'chown -R www-data: /var/www/html after echo "Installing WordPress for $CONTAINER..." in start.sh.

bintzandt avatar Jul 27 '20 10:07 bintzandt