Dear Wiki user, You have subscribed to a wiki page or wiki category on "Httpd Wiki" for change notification.
The following page has been changed by RichBowen: http://wiki.apache.org/httpd/Errors/13PermissionDenied The comment on the change is: A warning, and recommendation to use namei -m ------------------------------------------------------------------------------ Directories and scripts also need to be 'executable' ({{{dr-xr-xr-x}}} or 555. {{{drwxr-xr-x}}} or 755 is more common). This includes '''all''' parent directories of a resource too! + + On Linux, you can use the {{{namei}}} command to return permissions of everything in the path to the target file or directory. + + {{{ + namei -m /usr/local/apache/httpd/dir1/dir2/index.html + }}} + + '''DO NOT''' set files or directories to mode 777, even "just to test", even if "it's just a test server". The purpose of a test server is to get things right in a safe environment, not to get away with doing it wrong. + {{{setenforce 0}}} can be used to test if this is caused by a SELinux issue - in that case, use {{{chcon}}} to fix permissions. Use {{{ls -alZ}}} to view current permissions on such systems.
