I don't understand what each of these users are. I have a private server that I host many domains on. One of them is foo.com. The username for foo.com is foofoo. I have installed Magento (via Composer) in the public_html directory of foofoo's home directory.
1. What is my "webserver" user?
2. What is my "command-line" user?
I installed Magento logged in as foofoo, via:
#composer create-project --repository-url=https://repo.magento.com/ magento/project-community-edition store
I didn't sudo foofoo, as this didn't appear necessary.
Thank you for any guidance,
CentOS / Magento 2.0.7
Solved! Go to Solution.
If you have a private server, then you use the two-user setup on the overview page you mentioned. This means the command-line user is a user you create on the server, which in your case is foofoo.
The web server user is the user the web server runs as; the pre-installation file system page has information on how to find that user. Typically, it's www-data on Ubuntu or apache on CentOS (for Apache). If you're using nginx, it's typically nginx.
All you need to do is to add the foofoo user to the web server user's group and follow the other instructions on the pre-installation page and you should be set.