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

Alexander Viro (viro@math.psu.edu)
Mon, 8 Jan 2001 08:42:35 -0500 (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/