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 B73DA138010 for ; Fri, 24 Aug 2012 22:59:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 24F23E059C; Fri, 24 Aug 2012 22:58:40 +0000 (UTC) Received: from mailout-de.gmx.net (mailout-de.gmx.net [213.165.64.22]) by pigeon.gentoo.org (Postfix) with SMTP id 280D0E0691 for ; Fri, 24 Aug 2012 22:56:42 +0000 (UTC) Received: (qmail invoked by alias); 24 Aug 2012 22:56:42 -0000 Received: from p54850159.dip0.t-ipconnect.de (EHLO gmx.net) [84.133.1.89] by mail.gmx.net (mp012) with SMTP; 25 Aug 2012 00:56:42 +0200 X-Authenticated: #20088476 X-Provags-ID: V01U2FsdGVkX1+HtOk1EbaHxBZA6CtPufkBuBGT4HTd8nPGV9dIhy otU8UP3vezMkRS Received: by gmx.net (nbSMTP-1.00) for uid 1001 Meino.Cramer@gmx.de; Sat, 25 Aug 2012 00:56:42 +0200 (CEST) Date: Sat, 25 Aug 2012 00:56:41 +0200 From: meino.cramer@gmx.de To: Gentoo Subject: [gentoo-user] NFS mounts and uid/gid/user names Message-ID: <20120824225641.GB3510@solfire> 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: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: mutt-ng/devel-r804 (Linux) X-Y-GMX-Trusted: 0 X-Archives-Salt: 9a689665-d4ae-4e68-b07b-62a2a5ffadd0 X-Archives-Hash: 479d24f16fe155fc5c6e5503056df8db Hi, to not to stress the SD-card of my single board computer too much I mounted a directory of my PC via NFS at my single board computer, so that compilations and other task which need to be done while installing will access the hd and not the SD-card. (The singleboard computer is a Cortex A8/OMAP based one: 32 bit. The PC is 64 bit AMD based.) So far so nice...everything works fine: I can see the directory on both ends. In /etc/exports on the PC I entered this: /tmp/NFS 192.168.178.25(async,rw,no_subtree_check) 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. 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. How can I acchieve, that files written on one side remain the same uid/gid assignment on the other side? Thank you very much in advance for any help! Have a nice weekend! Best regards, mcc