I’ve been stuck on this for quite some time despite following plenty of guides and trying multiple combinations of file ownership/permissions to no avail. So I’m reaching out here in hopes someone might be able to help me.
I have a single droplet running CentOS serving up two websites. Following the DO guide, I created two directories (one for each website) and configured virtual hosts and set up WordPress on each site. My issue is when I attempt to update WordPress or some themes and plugins, I get errors that lead me to believe something with folder permissions is off. These errors are:
I followed WordPress documentation and set 644 for files and 755 for directories. I’m beginning to wonder if one of the parent folders permissions is off? Below is permission info. Any information or suggestions would be greatly appreciated!
|all files in public_html||apache/apache||-rw-r–r–.|
|all directories in public_html||apache/apache||drwxr-xr-x.|
|There is an identical website2.com directory with subdirectories.|
Do these permissions look ok? Is there some other php config I need to set up?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
Click below to sign up and get $100 of credit to try our products over 60 days!