mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [BUG?] binfmt_script: interpreted interpreter doesn't work
@ 2002-09-15 17:15 Pozsar Balazs
  2002-09-15 19:05 ` Gilad Ben-Yossef
  2002-09-15 20:06 ` Ingo Oeser
  0 siblings, 2 replies; 10+ messages in thread
From: Pozsar Balazs @ 2002-09-15 17:15 UTC (permalink / raw)
  To: linux-kernel


Hi all,

This may well not be bug, rather an intended feature, but please enlighten
me why the following doesn't work:

I have two scripts:
/home/pozsy/a:
#!/bin/sh
echo "Hello from a!"

/home/pozsy/b:
#!/home/pozsy/a
echo "hello from b!"


Both of them has +x permissions.
But I cannot execute the /home/pozsy/b script:

[pozsy:~]$ strace -f /home/pozsy/b
execve("/home/pozsy/b", ["/home/pozsy/b"], [/* 25 vars */]) = 0
strace: exec: Exec format error
[pozsy:~]$


Isn't this "indirection" allowed?

-- 
pozsy


^ permalink raw reply	[flat|nested] 10+ messages in thread
[parent not found: <200209152055.05322.hpj@urpla.net>]

end of thread, other threads:[~2002-09-15 21:06 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-09-15 17:15 [BUG?] binfmt_script: interpreted interpreter doesn't work Pozsar Balazs
2002-09-15 19:05 ` Gilad Ben-Yossef
2002-09-15 19:14   ` Pozsar Balazs
2002-09-15 20:06 ` Ingo Oeser
2002-09-15 21:04   ` Pozsar Balazs
2002-09-15 21:18   ` Mark Veltzer
2002-09-15 21:19   ` jbradford
     [not found] <200209152055.05322.hpj@urpla.net>
2002-09-15 19:13 ` Pozsar Balazs
2002-09-15 19:34   ` Willy Tarreau
2002-09-15 21:00     ` Pozsar Balazs

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®