Re: [PATCH] cramfs is ro only, so honour this in inode->mode

Doug McNaught (doug@wireboard.com)
09 Jan 2001 17:33:29 -0500


"Albert D. Cahalan" <acahalan@cs.uml.edu> writes:

> Doug writes:
> > bash-2.03$ cd /tmp
> > bash-2.03$ cat >foo
> > This is a test.
> > bash-2.03$ chmod u-r foo
>
> No, you zeroed the owner's read bit. When the bit isn't
> implemented it must be always set.
>
> By "(owner may read own files)" I refer to what happens
> after you steal the bit, causing it to always appear set.

Ahh, OK, thanks for the clarification.

-Doug
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/