Skip site navigation (1)Skip section navigation (2)
Date:      10 Dec 2002 11:06:21 +0300
From:      Akifyev Sergey <asa@gascom.ru>
To:        Michael Nottebrock <michaelnottebrock@gmx.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: nfs creates files with huge uids
Message-ID:  <1039507581.307.26.camel@asa.gascom.net.ru>
In-Reply-To: <3DF53278.9030405@gmx.net>
References:  <3DF53278.9030405@gmx.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 2002-12-10 at 03:16, Michael Nottebrock wrote:
> I have /usr/ports/distfiles nfs-mounted from another machine, and when I 
> build a port, fetch runs as root and writes in /usr/ports/distfiles. The 
> files which are created this way carries an insanely huge uid (12 
> digits!) which causes all sorts of trouble with quotacheck and is 
> invisible to find -user. How can I prevent this?

Look at export(5) manpage! It says:

[... 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.

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

Regards,
Sergey


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?1039507581.307.26.camel>