Messages in this thread | | | Date | Thu, 30 Jul 2009 21:12:56 +0100 | From | Alan Cox <> | Subject | Re: [PATCH] Return ENOEXEC, not ENOENT, if a binary's or script's interpreter doesn't exist. |
| |
> They then go and look at /usr/bin/foo, find that it exists, and are > extremely confused.
-ENOEXEC is just as confusing. It is executable, it will match (cmp/md5sum etc) with one on another box etc.
> More advanced users might at that point try and run "ldd" on the binary > (which will also fail, thanks to a missing interpreter).
So fix ldd ?
| |