which user is the website host
- by Kossel
I m learning about server, and I'm configuring nginx mysql php wordpress.
the server distro is debian 6.
I created a new user and I wish each user is the owner of the site folder /var/www/site.one
so I chown -R kossel:kossel site.one
my problem is, my wordpress only work if I chmod 644 wp-config.php, which all can read wordpress site suggest that file should be 640.
and my question is: when someone open mydomain.com, wordpress has to access wp-config.php file, but which user is it actually using to "read" that file? root? user kossel? anyone else? how can I properly give it permission or owner??