httpd: permission denied

Paul Howarth paul at city-fan.org
Thu Nov 3 10:17:09 UTC 2005


On Thu, 2005-11-03 at 01:09 +0100, Albert A. Modderkolk wrote:
> I get the below error when the first program is executed. randbann.pl is
> 755 and it reads only from a file with ww read access.  Which files are
> used by httpd that could cause this error or what else could cause this?
> 
> Tia, Albert
> 
> [Tue Nov 01 10:02:42 2005] [notice] Apache/2.0.54 (Fedora) configured --
> resuming normal operations
> [Thu Nov 03 00:59:56 2005] [error] [client 127.0.0.1] (13)Permission
> denied: exec of '/catalogs/grn/cgi/randbann.pl' failed
> [Thu Nov 03 00:59:56 2005] [error] [client 127.0.0.1] Premature end of
> script headers: randbann.pl
> [Thu Nov 03 00:59:59 2005] [error] [client 127.0.0.1] (13)Permission
> denied: exec of '/catalogs/grn/cgi/order.cgi' failed, referer:
> http://local.eyewearcentre.com/index.html

Try:
# chcon -R -t httpd_sys_script_exec_t /catalogs/grn/cgi

Paul.
-- 
Paul Howarth <paul at city-fan.org>




More information about the users mailing list