[lkml]   [2004]   [Nov]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [BUG ?] smbfs open always succeeds

    On Tue, 30 Nov 2004 wrote:
    > I investigated a bit and found a nfs_open function at
    > linux-2.6.9/fs/nfs/inode.c line 906 which also always returns 0. So is
    > this a network filesystem way of handling opens and not a bug after all? I
    > am not sure though that both nfs and smbfs operate in the same way and am
    > not claiming that.

    Many networked filesystems end up doing most of the _real_ permissions
    checking at IO time, not opens. That said, "open()" should return
    definitive errors as early as possible, but sometimes you really have the
    case that the real error only happens when you try to read or write

    Not saying that smbfs is right, just explaining that it _might_ be right.

    Urban, did you see the thread?

    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: 2009-11-18 23:46    [W:0.019 / U:7.172 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site