Re: Java in OS?

Matthias Urlichs (smurf@smurf.noris.de)
Mon, 6 May 1996 12:47:37 +0200 (MET DST)


Hi,

Jon Hamilton wrote:
>>/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. =20
>
Not for me (1.3.98). Libc version should be uninteresting as it's the e=
xec
itself that returns the error (verified with strace).=20

NB, another and possibly related problem: "strace -f strace /bin/sh", i=
.e.
trying to watch what strace does, fails with=20

[pid 16357] ptrace(PTRACE_TRACEME, 0, 0x1, 0) =3D -1 EPERM (Operation n=
ot permitted)

Huh???

>>% chmod +x /tmp/foo /tmp/bar
>
>You didn't make sure it was readable; that's the only thing I can thin=
k of
>offhand.
>
No, it was; besides, I was root at the time.

--=20
Some people say life is the thing, but I prefer reading
--=20
Matthias Urlichs \ Noris Network GmbH i.Gr/ Xlink-POP N=FCrnberg=
=20
Schleiermacherstra=DFe 12 \ Linux+Internet / EMail: urlichs@nor=
is.de
90491 N=FCrnberg (Germany) \ Consulting+Programming+Networking+etc'i=
ng
PGP: 1024/4F578875 1B 89 E2 1C 43 EA 80 44 15 D2 29 CF C6 C7 E0 DE=
=20
Click <A HREF=3D"http://info.noris.de/~smurf/finger">here</A>. =
42