Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Dec 2010 17:59:13 -0500 (EST)
From:      Rick Macklem <rmacklem@uoguelph.ca>
To:        Joe Auty <joe@netmusician.org>
Cc:        freebsd-fs@freebsd.org
Subject:   Re: Migrating from NFSv3 to v4 - NFSv4 ACL/permission confusion
Message-ID:  <2012614235.1261352.1291676353006.JavaMail.root@erie.cs.uoguelph.ca>
In-Reply-To: <4CFD6693.7080100@netmusician.org>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
------=_Part_1261351_324535824.1291676353005
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

> Okay,
>=20
> Here is my dump command... The NFS host is 192.168.0.20:
>=20
> # tcpdump -s 0 -w dumpfile.txt host 192.168.0.20
> tcpdump: listening on em0, link-type EN10MB (Ethernet), capture size
> 65535 bytes
>=20
This won't put anything on the screen. It's dumping to dumpfile.txt
(which is not a text file, but it doesn't matter what you call it).
If you email me dumpfile.txt as an attachment, that was what I was
referring to.

>=20
> In NFS mount:
>=20
> # ls -l
> total 2
> -rw-r--r--=C2=A0 1 root=C2=A0 wheel=C2=A0 0 Dec=C2=A0 4 23:19 blah
> -rw-r--r--=C2=A0 1 root=C2=A0 wheel=C2=A0 0 Dec=C2=A0 4 23:19 test2
> -rw-r--r--=C2=A0 1 root=C2=A0 wheel=C2=A0 0 Dec=C2=A0 4 23:19 test3
>=20
> # chown joe blah
>=20
> (no response)
>=20
> "joe" is indeed a local user on the NFS client side.
>=20
> This is not generating any tcpdump output though.
>=20
Do you mean that dumpfile.txt isn't growing while you do
this or just that there isn't anything being printed in
the window where tcpdump is running?

> # ls -l
> total 2
> -rw-r--r--=C2=A0 1 root=C2=A0 wheel=C2=A0 0 Dec=C2=A0 4 23:19 blah
> -rw-r--r--=C2=A0 1 root=C2=A0 wheel=C2=A0 0 Dec=C2=A0 4 23:19 test2
> -rw-r--r--=C2=A0 1 root=C2=A0 wheel=C2=A0 0 Dec=C2=A0 4 23:19 test3
>=20
> No actual permission change
>=20
You could try "chmod 600 blah" and see if that works? (It shouldn't
care about uid<->username mapping.)

>=20
> I created these files as root, so that much is being recognized...
>=20
Yep, which suggests that the uid<->username mapping is working.

rick

------=_Part_1261351_324535824.1291676353005--



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?2012614235.1261352.1291676353006.JavaMail.root>