Subject: Re: UBC turns EACCESS into EFAULT (e.g.: with NFS)
To: None <email@example.com>
From: Ignatios Souvatzis <firstname.lastname@example.org>
Date: 12/07/2003 20:16:06
Content-Type: text/plain; charset=us-ascii
On Sun, Dec 07, 2003 at 10:20:21AM -0800, Chuck Silvers wrote:
> a solaris NFS client reading from a solaris NFS server allows
> reads from existing file descriptors even if the file has no
> read permission for anyone on the server.
now this sounds scary, but maybe I misunderstood.
> looking at the netbsd NFS code, our NFS server will allow reads and writes
> for the file owner regardless of the file's modes. in nfsrv_access():
> so our NFS client should just always use the file's owner in the creds
> for read and write RPCs. according to snoop, this is what solaris does
> as well.
file owner - or ID that opened the descriptor? "file owner" sounds like
too generous to me (but IANAL^HNFS protocol expert).
seal your e-mail: http://www.gnupg.org/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (NetBSD)
-----END PGP SIGNATURE-----