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!