Date: Sun, 25 Jan 2015 22:29:26 +0300 From: Slawa Olhovchenkov <slw@zxy.spb.ru> To: Peter Jeremy <peter@rulingia.com> Cc: svn-src-head@freebsd.org, Baptiste Daroussin <bapt@freebsd.org>, src-committers@freebsd.org, svn-src-all@freebsd.org, Bruce Evans <brde@optusnet.com.au> Subject: Re: svn commit: r277652 - in head/usr.sbin/pw: . tests Message-ID: <20150125192926.GT3698@zxy.spb.ru> In-Reply-To: <20150125192128.GD23253@server.rulingia.com> References: <201501241913.t0OJD4xT039188@svn.freebsd.org> <20150125155254.V1007@besplex.bde.org> <20150125142148.GA76051@zxy.spb.ru> <20150126014336.P2572@besplex.bde.org> <20150125153639.GC76051@zxy.spb.ru> <20150125192128.GD23253@server.rulingia.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jan 26, 2015 at 06:21:28AM +1100, Peter Jeremy wrote: > On 2015-Jan-25 18:36:40 +0300, Slawa Olhovchenkov <slw@zxy.spb.ru> wrote: > >On Mon, Jan 26, 2015 at 02:31:05AM +1100, Bruce Evans wrote: > > > >> On Sun, 25 Jan 2015, Slawa Olhovchenkov wrote: > >> > This is not full true for ZFS case. > >> > On ZFS nobody is 2^32-2. > > Can you please provide a reference to this in the code. I can't find > anything in the ZFS code to suggest either '-2' or 4294967294 is used > as a special GID or UID. The only references I can find are to > UID_NOBODY and GID_NOBODY - both of which are defined as 65534 in > <sys/conf.h>. I think this is result of convert (signed short) to (signed int). > >ls -l /usr/ports/packages32/lang > >total 2 > >lrwxr-xr-x 1 4294967294 wheel 33 Mar 17 2012 perl-threaded-5.12.4_4.tbz -> ../All/perl-threaded-5.12.4_4.tbz > >lrwxr-xr-x 1 4294967294 wheel 27 Mar 17 2012 python27-2.7.2_4.tbz -> ../All/python27-2.7.2_4.tbz > >lrwxr-xr-x 1 4294967294 wheel 21 Mar 17 2012 tcl-8.5.11.tbz -> ../All/tcl-8.5.11.tbz > >lrwxr-xr-x 1 4294967294 wheel 29 Mar 17 2012 tcl-modules-8.5.11.tbz -> ../All/tcl-modules-8.5.11.tbz > > All this means is that you have some files with that uid. It's not > clear how they were created. nfs3 export ZFS dataset to VM. VM do write as 'root'. root maped to nobody. When this is created -- host 9.1, VM -- 6.x.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150125192926.GT3698>