[plug] #! not working?

Christian again at global.net.au
Mon Jan 25 11:29:25 WST 1999


For those who are interested (possibly a few people from #linuxaus who I
was talking to about it) the problem was that the partition was mounted
'noexec'.  All the really irritating things are very minor indeed.

Sorry to answer my own questions again. :)

On Mon, 25 Jan 1999, Christian wrote:

> 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.
> 

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



More information about the plug mailing list