Gentoo Archives: gentoo-user

From: Neil Bothwick <neil@××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] NFS mounts and uid/gid/user names
Date: Sat, 25 Aug 2012 07:47:25
Message-Id: 20120825084444.5ba01fe5@hactar.digimed.co.uk
In Reply to: [gentoo-user] NFS mounts and uid/gid/user names by meino.cramer@gmx.de
1 On Sat, 25 Aug 2012 00:56:41 +0200, meino.cramer@×××.de wrote:
2
3 > In /etc/exports on the PC I entered this:
4 > /tmp/NFS 192.168.178.25(async,rw,no_subtree_check)
5 >
6 > When setting chmod 700 /tmp/NFS, chown root:root /tmp/NFS
7 > on the server side (PC) I cannot write to the directory
8 > as root on the client side (single board computer).
9 > On both sides root is 0:0.
10 >
11 > When setting chmod 777 /tmp/NFS on the server side, I am able to write
12 > at the client side to the that directory, bit listing that files shows
13 > me that they become owned by nobody:nobody which is
14 > nobody:x:65534:65534:nobody:/nonexistent:/bin/sh on the server side.
15
16 Where did you get the no_subtree_check options from? If you'd read it in
17 the man page you'd have seen that you also need no_root_squash. Without
18 this option, the root user on the client is mapped to a non-root user on
19 the server.
20
21
22 --
23 Neil Bothwick
24
25 WinErr 079: Mouse not found - A mouse driver has not been installed.
26 Please click the left mouse button to continue.

Attachments

File name MIME type
signature.asc application/pgp-signature