Re: Possible permissions bug on NFSv3 kernel client
From: Pascal Schmidt
Date: Sat May 01 2004 - 05:59:08 EST
On Fri, 30 Apr 2004, Trond Myklebust wrote:
> So why do you think that is inconsistent with my statement: "the
> permissions checking has to be done by the server, period"?
I see it wasn't clear from my reply. I don't disagree at all.
Permission checking is the server's job. Clients are untrusted.
> This should be entirely consistent with local file behaviour.
> Particularly since the code to deal with the read-only mount option in
> nfs_permission() was pretty much cut-n-pasted from vfs_permission().
The original poster said it didn't work for him on an NFSv3 mount.
Looking at nfs_permission() I (of course) agree it looks innocent
enough.
--
Ciao,
Pascal
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/