Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Nov 2012 22:19:17 -0500 (EST)
From:      Rick Macklem <rmacklem@uoguelph.ca>
To:        "Christopher D. Harrison" <harrison@biostat.wisc.edu>
Cc:        freebsd-net@FreeBSD.org
Subject:   Re: kern/173479: [nfs] chown and chgrp operations fail between FreeBSD 9.1RC3 NFSv4 server and RH63 NFSv4 client
Message-ID:  <619707319.854111.1353986357789.JavaMail.root@erie.cs.uoguelph.ca>
In-Reply-To: <201211262330.qAQNU1QP001987@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Christopher D. Harrison wrote:
> The following reply was made to PR kern/173479; it has been noted by
> GNATS.
> 
> From: "Christopher D. Harrison" <harrison@biostat.wisc.edu>
> 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 <username>@<domain> 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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?619707319.854111.1353986357789.JavaMail.root>