lkml.org 
[lkml]   [2001]   [May]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: question: permission checking for network filesystem
    > > open mode has 4 bits: read, write, append and execute.
    >
    > I hope "write" and "append" interact nicely, giving 4 choices.
    >
    > 00 no write
    > 01 append only
    > 10 overwrite only (no file size change)
    > 11 full write, append, truncate, etc.

    ... that's 1) Wrong 2) I need 4 bits ... that's 16 choices.

    It's wrong because append is specified in addition to write (for open syscall).

    --------------------------------------------------------------------------------
    - Jan Hudec `Bulb' <bulb@ucw.cz>
    -
    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 12:53    [W:0.023 / U:0.108 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site