5
1
I am on Cpanel. I have root access.
When I create a new domain, a new user is created. Let's call it example.com
with the user name being example
. This will create:
/home/example/www/
For WP to work here, it requires the same access as apache. So I usually, for updating etc, need to give "nobody" user access.
However, for FTP etc to work normally, I need files and folders to be owned by the user (example
in my case).
What do people recommend. Should I add example
to the nobody
group? Or what else?
This is driving me up the wall.
Thanks!
2Had same problem and answer above helped a lot. Thanks! – JackTheKnife – 2016-02-11T20:55:14.373
@PKHunter didn't work for me... it was like this before and even with 777 permissions WP would ask FTP credentials. Just worked with nobody:nobody... – Ricardo BRGWeb – 2017-09-07T22:49:15.520
Thanks Garrett. For someone else in the future, here is what I discovered. The following works:
chown -R example:nobody /home/example/www/
– PKHunter – 2012-09-16T12:53:18.460