Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Dec 2002 13:33:45 -0600
From:      Dan Nelson <dnelson@allantgroup.com>
To:        Michael Nottebrock <michaelnottebrock@gmx.net>
Cc:        Akifyev Sergey <asa@gascom.ru>, freebsd-questions@FreeBSD.ORG
Subject:   Re: nfs creates files with huge uids
Message-ID:  <20021210193344.GI48182@dan.emsphone.com>
In-Reply-To: <3DF63D70.4030200@gmx.net>
References:  <3DF53278.9030405@gmx.net> <1039507581.307.26.camel@asa.gascom.net.ru> <3DF63D70.4030200@gmx.net>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Dec 10), Michael Nottebrock said:
> Akifyev Sergey wrote:
> >[... ripped by viruses ...]
> >In the absence of -maproot and -mapall options, remote accesses by root
> >will result in using a credential of -2:-2.  All other users will be
> >mapped to their remote credential.
> >[... ripped by viruses ...]
> >
> >so, here's your answer! -2 would be 0xfffffffe in hexadecimal, and
> >4294967294 in decimal (10 digits). Here's where your insanely huge uid
> >comes from.
> 
> Thanks! However, isn't there a bug somewhere - either that nfs (can) 
> create files with such high uids or that find(1) is still limited to 
> 16-bit uids?

It's a bug in find's parser.  "find . -user -2" does work though, so at
least you have a workaround.

-- 
	Dan Nelson
	dnelson@allantgroup.com

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021210193344.GI48182>