From owner-freebsd-fs@FreeBSD.ORG Mon Dec 6 22:59:14 2010 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2D70B106566B for ; Mon, 6 Dec 2010 22:59:14 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from esa-annu.mail.uoguelph.ca (esa-annu.mail.uoguelph.ca [131.104.91.36]) by mx1.freebsd.org (Postfix) with ESMTP id DE6948FC18 for ; Mon, 6 Dec 2010 22:59:13 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApwEAEf5/EyDaFvO/2dsb2JhbACDT6BarkuQeYRWcwSEX4YP X-IronPort-AV: E=Sophos;i="4.59,307,1288584000"; d="scan'208";a="101529827" Received: from erie.cs.uoguelph.ca (HELO zcs3.mail.uoguelph.ca) ([131.104.91.206]) by esa-annu-pri.mail.uoguelph.ca with ESMTP; 06 Dec 2010 17:59:13 -0500 Received: from zcs3.mail.uoguelph.ca (localhost.localdomain [127.0.0.1]) by zcs3.mail.uoguelph.ca (Postfix) with ESMTP id 10572B3E95; Mon, 6 Dec 2010 17:59:13 -0500 (EST) Date: Mon, 6 Dec 2010 17:59:13 -0500 (EST) From: Rick Macklem To: Joe Auty Message-ID: <2012614235.1261352.1291676353006.JavaMail.root@erie.cs.uoguelph.ca> In-Reply-To: <4CFD6693.7080100@netmusician.org> MIME-Version: 1.0 X-Originating-IP: [174.114.46.215] X-Mailer: Zimbra 6.0.7_GA_2476.RHEL4 (ZimbraWebClient - IE8 (Win)/6.0.7_GA_2473.RHEL4_64) Content-Type: multipart/related; boundary="----=_Part_1261351_324535824.1291676353005" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-fs@freebsd.org Subject: Re: Migrating from NFSv3 to v4 - NFSv4 ACL/permission confusion X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Dec 2010 22:59:14 -0000 ------=_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--