[plug] #! not working?

Christian again at global.net.au
Mon Jan 25 09:37:55 WST 1999


Hi all,

I've got a very odd problem here. (don't start!)  None of my Perl/Shell
scripts etc. that use the #! bit at the start work:

cpayne at heaven:~$ cat test.pl
#!/usr/bin/perl
print "yep\n";

cpayne at heaven:~$ ./test.pl
bash: ./test.pl: Permission denied

cpayne at heaven:~$ perl test.pl
yep

cpayne at heaven:~$ cat test.sh
#!/bin/sh
echo "Yep"

cpayne at heaven:~$ ./test.sh
bash: ./test.sh: Permission denied

cpayne at heaven:~$ /bin/sh test.sh
Yep

Anyone got any idea what on earth is going wrong?

This is on a new Debian 2.0 system.  Quick answers are very, very much
appreciated since none of my CGI scripts are working in the meantime...

Thanks,

Christian.

============================================================================
  Microsoft Windows NT: Providing 386 emulation for your Pentium hardware.



More information about the plug mailing list