svn commit: r317269 - in head/sys: fs/nfs sys
Slawa Olhovchenkov
slw at zxy.spb.ru
Fri Apr 21 22:29:50 UTC 2017
On Fri, Apr 21, 2017 at 08:08:10PM +0000, Rick Macklem wrote:
> Author: rmacklem
> Date: Fri Apr 21 20:08:10 2017
> New Revision: 317269
> URL: https://svnweb.freebsd.org/changeset/base/317269
>
> Log:
> Set default uid/gid to nobody/nogroup for NFSv4 mapping.
>
> The default uid/gid for NFSv4 are set by the nfsuserd(8) daemon.
> However, they were 0 until the nfsuserd(8) was run. Since it is
> possible to use NFSv4 without running the nfsuserd(8) daemon, set them
> to nobody/nogroup initially.
> Without this patch, the values would be set by the nfsuserd(8) daemon
> and left changed even if the nfsuserd(8) daemon was killed. The default
> values of 0 meant that setting a group to "wheel" would fail even when
> done by root.
> It also adds a definition of GID_NOGROUP to sys/conf.h.
>
> Discussed on: freebsd-current@
> MFC after: 2 weeks
Can you also look to this problem
https://lists.freebsd.org/pipermail/freebsd-stable/2012-March/066868.html
?
More information about the svn-src-all
mailing list