From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 8AF78138010 for ; Sat, 25 Aug 2012 07:47:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4341EE051E; Sat, 25 Aug 2012 07:46:59 +0000 (UTC) Received: from mail.digimed.co.uk (82-69-83-178.dsl.in-addr.zen.co.uk [82.69.83.178]) by pigeon.gentoo.org (Postfix) with ESMTP id 2A3F6E0466 for ; Sat, 25 Aug 2012 07:44:49 +0000 (UTC) Received: from hactar.digimed.co.uk (hactar.digimed.co.uk [192.168.1.3]) by mail.digimed.co.uk (Postfix) with ESMTPSA id AF7D780038 for ; Sat, 25 Aug 2012 08:44:48 +0100 (BST) Date: Sat, 25 Aug 2012 08:44:44 +0100 From: Neil Bothwick To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] NFS mounts and uid/gid/user names Message-ID: <20120825084444.5ba01fe5@hactar.digimed.co.uk> In-Reply-To: <20120824225641.GB3510@solfire> References: <20120824225641.GB3510@solfire> Organization: Digital Media Production X-Mailer: Claws Mail 3.8.1cvs35 (GTK+ 2.24.11; x86_64-pc-linux-gnu) X-GPG-Fingerprint: 7260 0F33 97EC 2F1E 7667 FE37 BA6E 1A97 4375 1903 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/YMIv+mrlZZFS2H03+mVu7Es"; protocol="application/pgp-signature" X-Archives-Salt: eca112a4-0375-45ac-9188-0d812d969c28 X-Archives-Hash: 21da66a0f45bdb8feb9d235b5343b02f --Sig_/YMIv+mrlZZFS2H03+mVu7Es Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Sat, 25 Aug 2012 00:56:41 +0200, meino.cramer@gmx.de wrote: > In /etc/exports on the PC I entered this: > /tmp/NFS 192.168.178.25(async,rw,no_subtree_check) >=20 > When setting chmod 700 /tmp/NFS, chown root:root /tmp/NFS > on the server side (PC) I cannot write to the directory > as root on the client side (single board computer). > On both sides root is 0:0. >=20 > When setting chmod 777 /tmp/NFS on the server side, I am able to write > at the client side to the that directory, bit listing that files shows > me that they become owned by nobody:nobody which is > nobody:x:65534:65534:nobody:/nonexistent:/bin/sh on the server side. Where did you get the no_subtree_check options from? If you'd read it in the man page you'd have seen that you also need no_root_squash. Without this option, the root user on the client is mapped to a non-root user on the server. --=20 Neil Bothwick WinErr 079: Mouse not found - A mouse driver has not been installed. Please click the left mouse button to continue. --Sig_/YMIv+mrlZZFS2H03+mVu7Es Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iEYEARECAAYFAlA4gnAACgkQum4al0N1GQOHwACdF3l+Lc1BU8fgpAX+SpZx0umL ulAAnA7sNfglyryBjYFl17Zrw5W1dncX =zWHw -----END PGP SIGNATURE----- --Sig_/YMIv+mrlZZFS2H03+mVu7Es--