From owner-freebsd-questions Tue Dec 10 11:33:47 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 542B037B401 for ; Tue, 10 Dec 2002 11:33:46 -0800 (PST) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id C677A43EB2 for ; Tue, 10 Dec 2002 11:33:45 -0800 (PST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.6/8.12.6) id gBAJXjpL069022; Tue, 10 Dec 2002 13:33:45 -0600 (CST) (envelope-from dan) Date: Tue, 10 Dec 2002 13:33:45 -0600 From: Dan Nelson To: Michael Nottebrock Cc: Akifyev Sergey , freebsd-questions@FreeBSD.ORG Subject: Re: nfs creates files with huge uids Message-ID: <20021210193344.GI48182@dan.emsphone.com> References: <3DF53278.9030405@gmx.net> <1039507581.307.26.camel@asa.gascom.net.ru> <3DF63D70.4030200@gmx.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3DF63D70.4030200@gmx.net> X-OS: FreeBSD 5.0-RC X-message-flag: Outlook Error User-Agent: Mutt/1.5.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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