apache security and file permission settings

Christopher K. Johnson ckjohnson at gwi.net
Sun Jan 4 23:06:59 UTC 2004


Technical wrote:

>here are the permissions for my html directory:
>
>drwxr-xr-x    2 root     root         4096 Dec 30 19:41 .
>drwxr-xr-x    6 root     root         4096 Dec 25 14:00 ..
>-rw-r--r--    1 root     root         1919 Dec 30 20:31 index.html
>
>shouldn't the apache user and group own this directory???  I got my apache
>from the fedora rpm package
>  
>
Typically not.  It is sufficient that apache can read the content it 
serves, and for security in depth it is better if apache cannot modify 
the content.

-- 
-----------------------------------------------------------
   "Spend less!  Do more!  Go Open Source..." -- Dirigo.net
   Chris Johnson, RHCE #807000448202021






More information about the fedora-list mailing list