Re: apache security and file permission settings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux