You need to fix those installations immediately, then. You can run: chown -R root:root /usr/local/httpd to fix it.If you have any directories that require write access for your scripts, chmod those to 775, and chgrp to apache. Be aware that you should prevent script and unknown content from being uploaded there to minimize the security risk.
VPN Cluster wrote:
I have several other servers that have apache and they all owned by apache:apache . Even /usr/local/httpd/bin/apachectl is owned by apach:apache This is the only machine where I compiled apache but I see all the tree of folder and files under /usr/local/httpd is owned by root:root .. On Thu, Jul 10, 2008 at 2:04 PM, Frank Gingras <francois.gingras@xxxxxxxxx> wrote:VPN Cluster wrote:After successful compilation of Apache 2.2.9 , Apache folder on /usr/lcoal/httpd is owned by root:root. It should be owned by apache:apache. How to go about fixing that..Hello, The files under /usr/local/httpd *should* belong to root, actually. You should never chown the files served by apache to the apache user. That is a tremendous security risk. What problem are you trying to solve, exactly? Frank --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
--------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx