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

From: Alexander Viro (viro@math.psu.edu)
Date: Mon Jan 08 2001 - 08:42:35 EST


On Mon, 8 Jan 2001, Ingo Oeser wrote:

> Then we might need W bits, but currently they disturb things like
> "test" and the perl equivalent, which is quite annoying and
> complexifies code. (Yes, I'm selfish too ;-))

Huh??? Consider write-protected floppy. What, you mean that it also
should magically change mode of everything? Ditto for any fs mounted r/o.

If program considers these bits of st_mode as indication of ability
to write into file - program is buggy and should be fixed. Regardless
of cramfs.

> See what Linus and Al think about this.

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



This archive was generated by hypermail 2b29 : Mon Jan 15 2001 - 21:00:17 EST