[plug] #! not working?

Bevan Broun bevanb at ee.uwa.edu.au
Mon Jan 25 11:33:08 WST 1999


on Mon, Jan 25, 1999 at 09:37:55AM +0800, Christian <again at global.net.au> 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


and what does ls -l "test.pl show?". The error message you report is
consitent with test.pl not having excute permission.

man chmod
chmod 755 test.pl

BB
-- 
Bevan Broun                                           ph (08) 9380 1587
Computer Systems Officer                             fax (08) 9380 1065
Dept. Electrical and Electronic Engineering      
University of Western Australia                                 rm. G70


More information about the plug mailing list