Date: Fri, 16 Mar 2012 21:42:33 +0400 From: Slawa Olhovchenkov <slw@zxy.spb.ru> To: "Patrick M. Hausen" <hausen@punkt.de> Cc: freebsd-stable@freebsd.org Subject: Re: ZFS & NFS Message-ID: <20120316174233.GN52973@zxy.spb.ru> In-Reply-To: <F53B6039-4404-49EF-88EC-96A5DDDAA881@punkt.de> References: <20120316172006.GM97848@zxy.spb.ru> <F53B6039-4404-49EF-88EC-96A5DDDAA881@punkt.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Mar 16, 2012 at 06:32:43PM +0100, Patrick M. Hausen wrote: > Hello, > > Am 16.03.2012 um 18:20 schrieb Slawa Olhovchenkov: > > I do NFSv3 export of ZFS. > > root from remote host create files on ZFS witch uid 2^32-2: > > > > # ls -l /usr/ports/packages32/ > > total 6 > > drwxr-xr-x 2 4294967294 wheel 5 Mar 17 00:57 All > > drwxr-xr-x 2 4294967294 wheel 5 Mar 17 00:57 Latest > > drwxr-xr-x 2 4294967294 wheel 3 Mar 17 00:52 archivers > > drwxr-xr-x 2 4294967294 wheel 4 Mar 17 00:57 lang > > > Yes? This is expected behaviour of NFS. If you don't want that, try > > -maproot=root > > either in sharenfs option to zfs or /etc/exports, whichever it is you are using. hmm... nobody:*:65534:65534:Unprivileged user:/nonexistent:/usr/sbin/nologin 65534 != 4294967294 (2^16-2 != 2^32-2) Also, I am think ZFS+NFS will be wrong for UID>2^15.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120316174233.GN52973>