lkml.org 
[lkml]   [1996]   [May]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Java in OS?
From
Date
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.
>
Not for me (1.3.98). Libc version should be uninteresting as it's the exec
itself that returns the error (verified with strace).

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

[pid 16357] ptrace(PTRACE_TRACEME, 0, 0x1, 0) = -1 EPERM (Operation not permitted)

Huh???

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

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


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