From owner-freebsd-net@FreeBSD.ORG Tue Nov 27 03:19:25 2012 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 275F7364 for ; Tue, 27 Nov 2012 03:19:25 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from esa-annu.net.uoguelph.ca (esa-annu.mail.uoguelph.ca [131.104.91.36]) by mx1.freebsd.org (Postfix) with ESMTP id CADFA8FC0C for ; Tue, 27 Nov 2012 03:19:24 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AqAEAAExtFCDaFvO/2dsb2JhbABEDoYauwmCHgEBAQQBAQEgKyALBRYRAwECAQICDRIHAikBCR4IBggHBAEcBIdsDK1DknOBIosVG4FKgUmBEwOIXop2gi2BHI8ogjIwK4FKNQ X-IronPort-AV: E=Sophos;i="4.83,325,1352091600"; d="scan'208";a="2105869" Received: from erie.cs.uoguelph.ca (HELO zcs3.mail.uoguelph.ca) ([131.104.91.206]) by esa-annu.net.uoguelph.ca with ESMTP; 26 Nov 2012 22:19:17 -0500 Received: from zcs3.mail.uoguelph.ca (localhost.localdomain [127.0.0.1]) by zcs3.mail.uoguelph.ca (Postfix) with ESMTP id C3BF2B3F14; Mon, 26 Nov 2012 22:19:17 -0500 (EST) Date: Mon, 26 Nov 2012 22:19:17 -0500 (EST) From: Rick Macklem To: "Christopher D. Harrison" Message-ID: <619707319.854111.1353986357789.JavaMail.root@erie.cs.uoguelph.ca> In-Reply-To: <201211262330.qAQNU1QP001987@freefall.freebsd.org> Subject: Re: kern/173479: [nfs] chown and chgrp operations fail between FreeBSD 9.1RC3 NFSv4 server and RH63 NFSv4 client MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [172.17.91.203] X-Mailer: Zimbra 6.0.10_GA_2692 (ZimbraWebClient - FF3.0 (Win)/6.0.10_GA_2692) Cc: freebsd-net@FreeBSD.org X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Nov 2012 03:19:25 -0000 Christopher D. Harrison wrote: > The following reply was made to PR kern/173479; it has been noted by > GNATS. > > From: "Christopher D. Harrison" > To: bug-followup@FreeBSD.org, jas@cse.yorku.ca > Cc: > Subject: Re: kern/173479: [nfs] chown and chgrp operations fail > between FreeBSD > 9.1RC3 NFSv4 server and RH63 NFSv4 client > Date: Mon, 26 Nov 2012 17:23:15 -0600 > > The same problem also occurs in FreeBSD 9.0 release. > -C > In case you didn't see the previous discussions, this happens for Linux 3.3 or later kernels, where the default is to put the uid in a string for the owner and owner_group attributes. RFC-3530, which has not yet been replaced as the RFC for NFSv4.0 does not recommend this. A requirement for client support of this is in an internet draft called rfc3530bis, but this has not become an RFC yet. I think the Linux folks "jumped the gun" when they made this the default. You can change this using a sysctl on the server, so that it uses the @ format recommended by RFC-3530 or you can upgrade to stable/9, which does have client support for the uid in a string. (The "uid in a string" was added mainly to support NFSv4 root mounts for diskless clients.) This PR will be closed when I get home next week and can do so. rick > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"