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

Fix file permissions #34

Open
Djennez opened this issue Jul 27, 2020 · 1 comment
Open

Fix file permissions #34

Djennez opened this issue Jul 27, 2020 · 1 comment

Comments

@Djennez
Copy link
Member

Djennez commented Jul 27, 2020

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.

@bintzandt
Copy link

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.

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