Re: question: permission checking for network filesystem

From: Jan Hudec (bulb@ucw.cz)
Date: Thu May 24 2001 - 07:52:59 EST


> > 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/



This archive was generated by hypermail 2b29 : Thu May 31 2001 - 21:00:15 EST