[thelist] perl scripts causing server error

BT Bigpant bigpant at btinternet.com
Tue Apr 16 17:06:00 CDT 2002


Thanks for all your replies, but still no luck.

>I CHMOD'd it 577
typo - was 755

Eric, I tried env command in Telnet, and I got permission denied. When I
tried the other 'working' script, I got the expected output.

The following is an extract of the directory listing:

-rwxr-xr-x   1 5903     500            76 Apr 16 21:35 hi.cgi
-rwxr-xr-x   1 5903     500            76 Apr 16 22:53 hi.pl
-rwxr-xr-x   1 5903     500          5299 Nov  3  2000 solidform.cgi

solidform.cgi works a treat, but neither of my simple hi scripts worked.

This is the output:

[I have no name!@xxx cgi-bin]$ env hi.pl
env: hi.pl: Permission denied
[I have no name!@xxx cgi-bin]$ env hi.cgi
env: hi.cgi: Permission denied
[I have no name!@xxx cgi-bin]$ env solidform.cgi
2002-04-16 23:00:01 Failed to get user name for uid 5903
Content-type: text/html

<html><head><title>Thank you for mailing Solid Auto UK!</title></head> ...

There's obviously some issue going on here, but not being a *nix man, I'm
struggling.

Any more thoughts ?

Thanks again.
Phil




More information about the thelist mailing list