ps -ef | grep httpd.
This gives jdoe access to all other files or directories owned by that group. There may be some cases where you have to give the web server write permission to a file, or to a directory - this can be achieved by doing sudo chmod g+w /var/www/html/PATH (where PATH is the path to the file or folder in the directory structure where you need to apply the write permissions for the web server). - Net Cloud Server. So when you read instructions to chmod 777.
- I restarted apache. This means that each directory which Apache evaluates, from the drive root up to the directory leaf, must have read, list and traverse directory permissions.
nicholas guy smith wikipedia