View Single Post

  #2 (permalink)  
Old 06-30-2006
David
 
Posts: n/a
Default Re: Permission denied

mcvallet@hotmail.com wrote:
> Hi,
> I am not certain I am posting in the correct group so if I am not, I'm
> sorry.
> here is my problem:
>
> I have a cgi file that is calling another program (fortran) if I do not
> execute through apache, it works just fine, but as soon as I want to
> executed it through a web page. I get sh: ./myFortanProgramName:
> Permission denied, in my apache log file.
>
> If I do not call this program, the cgi file works fine when calle
> through the web.
>
> I checked the permission and they are rwxr-xr-x
>
> I am using apache 2.0 under fedoracore 4
>
> If you have any idea, please help me since I do not know what to do or
> in what direction I should look into
> Thanks,
> mc
>


Perhaps you need to change the ownership of the file to the user of the
webserver.