Wordpress Root Permissions Issue

General support questions
Post Reply
petersh
Posts: 1
Joined: 2018/05/26 01:50:03
Contact:

Wordpress Root Permissions Issue

Post by petersh » 2018/06/07 03:45:58

I'm having a strange issue, wordpress is installed on CentOS 7, PHP-FPM, NGNIX. All seems to work fine, wordpress works, I can install plugins, and uload images etc...
But when i try to update wordpress it prompts for FTP details, as it says files are not writable.
In the health check plugin i see,
The main WordPress directory Not writable
The wp-content directory Writable
The uploads directory Writable
The plugins directory Writable
The themes directory Writable

All Folders have the owner nginx, and all folder / file permsisions are correct.
PHP / Nginx runs as the user nginx.

I'm guessing it's a permission issue somewhere, but i just can't see it.
Even setting all folders to 777 has the same issue.

Has anyone any ideas?
Thanks for your time
Last edited by petersh on 2019/05/12 04:13:18, edited 2 times in total.
Voucher Lazada for You: Muarehon.vn

CharlyRipp
Posts: 1
Joined: 2018/07/18 01:42:07

Re: Wordpress Root Permissions Issue

Post by CharlyRipp » 2018/07/18 01:46:07

Any update on this? I'm going through the same thing.
Closest issue I have found was https://www.digitalocean.com/community/ ... ermissions dealing with php-fpm.

I'm utilizing httpd so it didn't help me :\

josie
Posts: 16
Joined: 2016/02/19 08:09:21

Re: Wordpress Root Permissions Issue

Post by josie » 2018/07/25 13:00:42

petersh, one thing stuck out to me was when you said your main wordpress directory was non-writable, I can only say that mine (httpdocs) is 750, writeable by its owner.

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Wordpress Root Permissions Issue

Post by TrevorH » 2018/07/25 13:23:44

The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply