From owner-freebsd-fs@FreeBSD.ORG Thu Dec 27 20:05:48 2012 Return-Path: Delivered-To: freebsd-fs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9ED3EFE8; Thu, 27 Dec 2012 20:05:48 +0000 (UTC) (envelope-from rmacklem@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 833DC8FC08; Thu, 27 Dec 2012 20:05:48 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id qBRK5m3H046958; Thu, 27 Dec 2012 20:05:48 GMT (envelope-from rmacklem@freefall.freebsd.org) Received: (from rmacklem@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id qBRK5lvv046954; Thu, 27 Dec 2012 20:05:47 GMT (envelope-from rmacklem) Date: Thu, 27 Dec 2012 20:05:47 GMT Message-Id: <201212272005.qBRK5lvv046954@freefall.freebsd.org> To: tomefrom@list.ru, rmacklem@FreeBSD.org, freebsd-fs@FreeBSD.org From: rmacklem@FreeBSD.org Subject: Re: kern/173657: [nfs] strange UID map with nfsuserd X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Dec 2012 20:05:48 -0000 Synopsis: [nfs] strange UID map with nfsuserd State-Changed-From-To: open->feedback State-Changed-By: rmacklem State-Changed-When: Thu Dec 27 20:03:29 UTC 2012 State-Changed-Why: I have emailed the reporter, asking them if they can test the patch: http://people.freebsd.org/~rmacklem/setattr-nfsuserd.patch which I think fixes the reported problem. It basically marks the "default" mappings to nobody for cases where there isn't a valid name<->uid mapping and doesn't allow Setattr to be done using those "default" mappings. http://www.freebsd.org/cgi/query-pr.cgi?pr=173657