From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3765DC61DA4 for ; Mon, 13 Mar 2023 16:42:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229927AbjCMQmY (ORCPT ); Mon, 13 Mar 2023 12:42:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51972 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229875AbjCMQmV (ORCPT ); Mon, 13 Mar 2023 12:42:21 -0400 Received: from fieldses.org (fieldses.org [IPv6:2600:3c00:e000:2f7::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 46EB036689 for ; Mon, 13 Mar 2023 09:42:19 -0700 (PDT) Received: by fieldses.org (Postfix, from userid 2815) id 84DB725AA; Mon, 13 Mar 2023 12:42:18 -0400 (EDT) DKIM-Filter: OpenDKIM Filter v2.11.0 fieldses.org 84DB725AA DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fieldses.org; s=default; t=1678725738; bh=r6vKyODVsb7Fp4J8abOHxqREIxHX6YnBIR5uLzFAwTU=; h=Date:To:Cc:Subject:References:In-Reply-To:From:From; b=wVc/e2lddfbuMDUbI3ry/JZYnzjz2ndORfvrFjbmisqXxKziyBltwtU6zEDb3yA6Z nzIjW6X1K8x1n+Wz7hz52nv6O3aNgvk8pID32hUplhsTHYia12wCJpcblvYjJlFJf3 p5jBJBGi2L750TDx0Dufzy/wQZhdMXLD69esikIA= Date: Mon, 13 Mar 2023 12:42:18 -0400 To: =?utf-8?B?5ZGo5ZGo5aaI?= <466013856@qq.com> Cc: linux-nfs Subject: Re: testChar and testBlock failed in pynfs Message-ID: <20230313164218.GA32502@fieldses.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) From: bfields@fieldses.org (J. Bruce Fields) Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org On Mon, Mar 13, 2023 at 06:25:58PM +0800, 周周妈 wrote: > I think mknod for char or block device file need root permission. > So  no_root_squash is needed in /etc/exports in server. > Is it right? Why not put this information in README file? Yeah, it should probably be better documented. For what it's worth, the scripts I used for my testing are in http://git.linux-nfs.org/?p=bfields/testd.git;a=tree. I did separate runs with and without root. --b.