Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Mar 2012 18:51:42 +0100
From:      Florian Wagner <florian@wagner-flo.net>
To:        freebsd-stable@freebsd.org
Subject:   Re: ZFS & NFS
Message-ID:  <20120316185142.39943585@naclador.mos32.de>
In-Reply-To: <20120316174233.GN52973@zxy.spb.ru>
References:  <20120316172006.GM97848@zxy.spb.ru> <F53B6039-4404-49EF-88EC-96A5DDDAA881@punkt.de> <20120316174233.GN52973@zxy.spb.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_/hlDcdLD4XM8WRbGt=Bet2b/
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

On Fri, 16 Mar 2012 21:42:33 +0400
Slawa Olhovchenkov <slw@zxy.spb.ru> wrote:

> On Fri, Mar 16, 2012 at 06:32:43PM +0100, Patrick M. Hausen wrote:
>=20
> > Hello,
> >=20
> > 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:
> > >=20
> > > # 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
> >=20
> >=20
> > Yes? This is expected behaviour of NFS. If you don't want that, try
> >=20
> > 	-maproot=3Droot
> >=20
> > either in sharenfs option to zfs or /etc/exports, whichever it is
> > you are using.
>=20
> hmm...
> nobody:*:65534:65534:Unprivileged user:/nonexistent:/usr/sbin/nologin
>=20
> 65534 !=3D 4294967294 (2^16-2 !=3D 2^32-2)

And FreeBSD !=3D Linux. Access from root does not get mapped to nobody.
See exports(5).


Regards
Florian

--Sig_/hlDcdLD4XM8WRbGt=Bet2b/
Content-Type: application/pgp-signature; name=signature.asc
Content-Disposition: attachment; filename=signature.asc

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)

iEYEARECAAYFAk9jfa8ACgkQLvW/2gp2pPzLsACgkjG11bcWQcHEWQKEXamohRNr
EWMAnjBFvFDZZoCV/ndpL7CjHd7jvYCX
=FsgQ
-----END PGP SIGNATURE-----

--Sig_/hlDcdLD4XM8WRbGt=Bet2b/--



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