Subject: Re: misc/17851: nfs client behaves strangely wrt uid 60001
To: None <grant@netbsd.org>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-bugs
Date: 08/07/2002 21:11:45
On Tue, Aug 06, 2002 at 01:29:36PM +1000, grant@netbsd.org wrote:
> 
> >Number:         17851
> >Category:       misc
> >Synopsis:       nfs client behaves strangely wrt uid 60001
> >Confidential:   no
> >Severity:       non-critical
> >Priority:       medium
> >Responsible:    misc-bug-people
> >State:          open
> >Class:          sw-bug
> >Submitter-Id:   net
> >Arrival-Date:   Mon Aug 05 20:30:00 PDT 2002
> >Closed-Date:
> >Last-Modified:
> >Originator:     grant beattie
> >Release:        NetBSD 1.6_BETA5
> >Organization:
> >Environment:
> NetBSD death 1.6_BETA5 NetBSD 1.6_BETA5 (GENERIC) #0: Thu Aug  1 23:39:43 EST 2002     grant@mofo:/raid/netbsd/netbsd-1-6/20020729/sparc64/obj/sys/arch/sparc64/compile/GENERIC sparc64
> Architecture: sparc64
> Machine: sparc64
> >Description:
> Solaris 7 NFS server, NetBSD 1.6_BETA5 NFS client.
> 
> server# ls -l
> -rw-rw-r--    1 60000    60000           0 Aug  6 13:26 60000
> -rw-rw-r--    1 nobody   nobody          0 Aug  6 13:26 60001
> -rw-rw-r--    1 60002    60002           0 Aug  6 13:26 60002
> server# id -a nobody
> uid=60001(nobody) gid=60001(nobody) groups=60001(nobody)
> 
> client# ls -l
> -rw-rw-r--   1 60000       60000             0 Aug  6 13:26 60000
> -rw-rw-r--   1 4294967294  4294967294        0 Aug  6 13:26 60001
> -rw-rw-r--   1 60002       60002             0 Aug  6 13:26 60002

-2 (signed) == 4294967294 (unsigned) on 32bit integer.
Make sure you don't have 2 'nobody' users on the server, one with
uid/gid 60001, one with uid/gid -2. Historically 'nobody' has been
-2/-2 on sun, and there may be one lying around.
Did you try
chown 60001:60001 60001
on the server ?

--
Manuel Bouyer, LIP6, Universite Paris VI.           Manuel.Bouyer@lip6.fr
--