-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Wordpress issue www-data:www-data #3018
Comments
@tijsproost I think you should add more details to this issue in order to reproduce it or help more quickly |
Yes, we need step by step instructions to reproduce the issue - from the moment of installation + all configuration items. |
@benoitf @TylerJewell I updated the question. |
@kaloyan-raev - adding for perspective and expertise. |
@tijsproost Try loosening permissions instead of changing the ownership, i.e. execute |
@kaloyan-raev Wouldn't that effect the overall security? |
@tijsproost You are giving write permissions for all OS users to your project files. What specific security concerns do you have about this? |
Yes, if a user in a container cannot have access to project files, they won't be displayed in the project tree. I think just lettings everyone to read and write but keeping user ownership will fix the issue for you. |
Ok! The solution works. The only problem I still encounter: if I now upload or create new files they have owner user:user instead of www-data:www-data like all other files. Any suggestions? |
To update plugins in a wordpress installation i updated the file folder ownership of the project in eclipse to www-data:www-data. However at the moment that broke the file explorer in eclipse.
anybody suggestions how to fix this and keep wordpress updating plugings directly?
Workspace: PHP-default-stack
Project Source: Git - Wordpress
Step 1 - in terminal
sudo apt-get upgrade
sudo apt-get update
sudo apt-get install nano
sudo apt-get install phpmyadmin (and complete all steps)
Step 2 - setup wordpress
Step 3 - change the project directory owner to www-data:www-data to give the wordpress website permission to update plugins directly. Now my file explorer in the eclipse ide appears to by in 'read only' mode.
I tried to add 'user' to the www-data group and this didn't solve the problem.
Next i changed the owner to user:www-data wich solved the IDE problem but my wordpress install is not updating plugins.
The text was updated successfully, but these errors were encountered: