lkml.org 
[lkml]   [1996]   [May]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Java in OS?
Date
From

In message <96May5.081504+0100met_dst.2218-305+54@work.smurf.noris.de>, Matthia
s Urlichs writes:

>NB: Why does trying to exec a script with an interpreter that is itself=
> a
>script cause an error? Specifically, EPERM? I think that should be allo=
>wed.
>(Yes I know, other Unixes frequently don't allow this, but that's no
>excuse.)
>
>/tmp/foo:
>#!/bin/sh
>echo "Did it"
>
>/tmp/bar:
>#!/tmp/foo
># nothing interesting

Works fine for me using 1.3.75 and libc 5.0.9.

>% chmod +x /tmp/foo /tmp/bar

You didn't make sure it was readable; that's the only thing I can think of
offhand.

--
Jon Hamilton hamilton@mixcom.com | hamilton@cs.iastate.edu
There's plenty of youth around, what we need is a fountain of _smart_.
PGP public key available upon request




\
 
 \ /
  Last update: 2005-03-22 13:37    [W:0.152 / U:0.624 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site