Subject: Re: UBC turns EACCESS into EFAULT (e.g.: with NFS)
To: Chuck Silvers <chuq@chuq.com>
From: Frank van der Linden <fvdl@netbsd.org>
List: tech-kern
Date: 12/07/2003 22:21:56
On Sun, Dec 07, 2003 at 10:20:21AM -0800, Chuck Silvers wrote:
> 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.
I just committed the diffs I had lying around for this situation. There
are still a few scenarios in which this will fail, but they should be
rare, and a few of those can't be avoided. Like having a file chowned
to root and made mode 000 on the server, while it maps root -> nobody..
there's no way around that.
- Frank
--
Frank van der Linden fvdl@netbsd.org
===============================================================================
NetBSD. Free, Unix-like OS. > 45 different platforms. http://www.netbsd.org/