[lkml]   [2002]   [Sep]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject[BUG?] binfmt_script: interpreted interpreter doesn't work

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:
echo "Hello from 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

Isn't this "indirection" allowed?


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

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