lkml.org 
[lkml]   [2001]   [Nov]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: Executing binaries on new filesystem
    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/

    \
     
     \ /
      Last update: 2005-03-22 13:13    [W:0.022 / U:242.972 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site