Subject: kern/23716: NFS clients of exported FFS/LFS fail using group access
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <gcw@primenet.com.au>
List: netbsd-bugs
Date: 12/11/2003 13:34:41
>Number:         23716
>Category:       kern
>Synopsis:       NFS clients of exported FFS/LFS fail using group access with EFAULT
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Dec 11 02:35:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Geoff C. Wing
>Release:        NetBSD 1.6ZG (2003/12/10)
>Organization:
>Environment:
System: NetBSD g.primenet.com.au 1.6ZG NetBSD 1.6ZG (G) #0: Thu Dec 11 12:39:18 EST 2003 gcw@g.primenet.com.au:/usr/netbsd/src/sys/arch/i386/compile/G i386
Architecture: i386
Machine: i386
>Description:
	A NetBSD NFS client for an exported FFS or LFS fails when relying
	only on Group access.  Error given is EFAULT.  When using User or
	Other access then everything is OK.  When using an MFS export then
	it works OK.  If Group access is successful and Other access is also
	successful then it succeeds.

	# mount_nfs g:/someffs /mnt
	% cd /mnt
	% id -u me
	100
	% id -g me
	50
	% ls -ln foo
	-rwxrwx---  1 50  50  3 Dec 11 13:19 foo
	% cat foo
	cat: foo: Bad address
	% tail foo
	[1]   Segmentation fault      tail foo
	% ls -ln bar
	-rwxrwx---  1 50  60  3 Dec 11 13:19 bar
	% cat bar
	cat: bar: Permission denied
	% ls -ln baz
	-rwxrwxrwx  1 50  60  3 Dec 11 13:19 baz
	% cat baz
	hi
	% ls -ln somethingelse
	-rwxrwxrwx  1 50  50  3 Dec 11 13:19 somethingelse
	% cat somethingelse
	hi
	
	This seems to have occured with changes around a week ago.

>How-To-Repeat:
	.
>Fix:
	?
>Release-Note:
>Audit-Trail:
>Unformatted: