You are viewing a plain text version of this content. The canonical link for it is here.
Posted to wiki-changes@httpd.apache.org by Apache Wiki <wi...@apache.org> on 2006/11/03 23:42:31 UTC

[Httpd Wiki] Trivial Update of "Errors/13PermissionDenied" by noodl

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 noodl:
http://wiki.apache.org/httpd/Errors/13PermissionDenied

The comment on the change is:
Removed an extra '-' from one of the permissions strings.

------------------------------------------------------------------------------
  
  Make sure that the file to which permission was denied is at least readable by the Apache user (eg {{{-r--r--r--}}} or 444 as a minimum. {{{-rw-r--r--}}} or 644 is more usual). 
  
- Directories and scripts also need to be 'executable' ({{{dr-xr-x-r-x}}} or 555. {{{drwxr-xr-x}}} or 755 is more common). This includes '''all''' parent directories of a resource too!
+ 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!
  
  {{{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.