Subject: Re: UBC turns EACCESS into EFAULT (e.g.: with NFS)
To: None <>
From: Ignatios Souvatzis <>
List: tech-kern
Date: 12/07/2003 20:16:06
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable


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:

Content-Type: application/pgp-signature
Content-Disposition: inline

Version: GnuPG v1.2.3 (NetBSD)