Messages in this thread | | | Subject | Re: Java in OS? | From | Steven L Baur <> | Date | 08 May 1996 14:47:32 -0700 |
| |
>>>>> "Matthias" == Matthias Urlichs <smurf@smurf.noris.de> writes:
Matthias> Hi, Matthias> 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. >>
Matthias> Not for me (1.3.98). Libc version should be uninteresting as Matthias> it's the exec itself that returns the error (verified with Matthias> strace).
This works for me at 1.3.98 and 1.3.99 whether I am root or not. root# cat foo #! /bin/sh echo "Did it" root# cat bar #!/tmp/foo # nothing interesting root# ./bar Did it
Matthias> NB, another and possibly related problem: "strace -f strace Matthias> /bin/sh", i.e. trying to watch what strace does, fails with
Matthias> [pid 16357] ptrace(PTRACE_TRACEME, 0, 0x1, 0) = -1 EPERM Matthias> (Operation not permitted)
I can duplicate this message, so it may not be related. -- steve@miranova.com baur Unsolicited commercial e-mail will be proofread for $250/hour. Andrea Seastrand: For your vote on the Telecom bill, I will vote for anyone except you in November.
| |