michael chang writes:
 > On 8/30/05, Kris Van Bruwaene <[EMAIL PROTECTED]> wrote:
 > > I recently discovered that scripts have become non-executable on my 
 > > reiserfs share, even though the -x flags are set:
 > > [EMAIL PROTECTED]:/home/kris# cat tst
 > > #! /usr/bin/perl -w
 > > print "Hello world\n";
 > > [EMAIL PROTECTED]:/home/kris# ./tst
 > > bash: ./tst: /usr/bin/perl: bad interpreter: Toegang geweigerd #(=Access 
 > > denied)
 > 
 > I believe the line should read
 > #!/usr/bin/perl -w
 > not 
 > #! /usr/bin/perl -w
 > 
 > [no space between "!" and first "/"]
 > 
 > unless that's a typo between output and your file.

Actually, space between shell-bang and the path to the interpreter is
perfectly legal in Linux.

Kris, what is the output of

$ cat /proc/mounts

?

 > 
 > -- 
 > ~Mike
 >  - Just my two cents
 >  - No man is an island, and no man is unable.
 > 

Nikita.

Reply via email to