[lkml]   [2002]   [Nov]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: Filesystem Capabilities in 2.6?

    On Sat, 2 Nov 2002, David D. Hagood wrote:
    > Linus Torvalds wrote:
    > >
    > > And pathnames are a _hell_ of a lot better and straightforward interface
    > > than inode numbers are. It's confusing when you change the permission on
    > > one path to notice that another path magically changed too.
    > Would this not allow a user to add permissions to a file, by creating a
    > new directory entry and linking it to an existing inode?
    > Would that not be a greater security hole?

    No. The file itself has _no_ capabilities at all. If you just link to it,
    you can give it whatever capabilities _you_ have as a user (well, normal
    users don't really have any capabilities to give, but you get the idea).


    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:30    [W:0.762 / U:2.548 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site