Re: Executing binaries on new filesystem

From: Mike Fedyk (mfedyk@matchmail.com)
Date: Sat Nov 17 2001 - 17:24:59 EST


On Sat, Nov 17, 2001 at 02:18:21PM -0800, Rock Gordon wrote:
> Hi,
>
> I've written a modest filesystem for fun, it works
> pretty ok, but when I try to execute binaries from it,
> bash says "cannot execute binary file" ... If I copy
> the same binary elsewhere, it executes perfectly.
>

There's probably a way for the FS to tell the rest of the kernel that the
file is executable.... You'll probably need to set that for all files.
That is, unless you have a chmod interface for your "FS for fun"...

Mike
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Nov 23 2001 - 21:00:16 EST