Skip to main content.
home | support | download

Back to List Archive

Re: Perl Script Downloading?

From: Bill Moseley <moseley(at)>
Date: Wed Oct 18 2000 - 14:50:46 GMT
At 07:28 AM 10/18/00 -0700, SRE wrote:
>At 06:52 AM 10/18/00, ehaymaker wrote:
>>What is causing my perl script to start downloading when I call it?
>Most likely a permission problem: try "chmod 700" if your FTP client
>supports it. Most will not do things like "chmod +x".

No, that's not it.  If you don't have execute permission on a CGI script
then you will get a "file permissions deny server execution:" error in the
log.  and Forbidden sent to the client.

Also, chmod 700 cgi-script will probably not work unless the web owns the
script -- which is unlikely unless running under some setuid wrapper.

Bill Moseley
Received on Wed Oct 18 14:58:54 2000