This question already has an answer here:
So I am setting up a localhost for web development on my Fedora 20 desktop. I have installed httpd and so forth...
The issue I have is adding my user to the /var/www and to /var/www/html. I looked into /etc/group and did not see a www-data group nor a http group, but I did see an apache group.
But when I ls -alF /var:
drwxr-xr-x. 4 root root 4096 Mar 3 09:46 www/
drwxr-xr-x. 2 root root 4096 Oct 14 21:17 html/
So they are owned by the root group. How would you recommend setting up these folders so that my user has access to these folders for web development?