Messages in this thread |  | | Date | Thu, 24 May 2001 14:52:59 +0200 | From | Jan Hudec <> | Subject | Re: 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/
|  |