Re: [nfsv4] FYI: Readdir not allowed on NFS pseudo root

Jim Rees <rees@umich.edu> Sun, 16 May 2004 20:43 UTC

Received: from optimus.ietf.org (iesg.org [132.151.1.19]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id QAA20379 for <nfsv4-archive@odin.ietf.org>; Sun, 16 May 2004 16:43:24 -0400 (EDT)
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org) by optimus.ietf.org with esmtp (Exim 4.20) id 1BPSSL-0005vD-FM for nfsv4-archive@odin.ietf.org; Sun, 16 May 2004 16:41:57 -0400
Received: (from exim@localhost) by www1.ietf.org (8.12.8/8.12.8/Submit) id i4GKfvM7022755 for nfsv4-archive@odin.ietf.org; Sun, 16 May 2004 16:41:57 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org) by optimus.ietf.org with esmtp (Exim 4.20) id 1BPSQ3-0005aH-DQ for nfsv4-web-archive@optimus.ietf.org; Sun, 16 May 2004 16:39:35 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id QAA20308 for <nfsv4-web-archive@ietf.org>; Sun, 16 May 2004 16:39:32 -0400 (EDT)
Received: from ietf-mx.ietf.org ([132.151.6.1] helo=ietf-mx) by ietf-mx with esmtp (Exim 4.32) id 1BPSQ1-0003WU-Gv for nfsv4-web-archive@ietf.org; Sun, 16 May 2004 16:39:33 -0400
Received: from exim by ietf-mx with spam-scanned (Exim 4.12) id 1BPSP8-0003Dd-00 for nfsv4-web-archive@ietf.org; Sun, 16 May 2004 16:38:39 -0400
Received: from optimus.ietf.org ([132.151.1.19]) by ietf-mx with esmtp (Exim 4.12) id 1BPSOS-0002tU-00 for nfsv4-web-archive@ietf.org; Sun, 16 May 2004 16:37:56 -0400
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org) by optimus.ietf.org with esmtp (Exim 4.20) id 1BPSMc-0004mt-AL; Sun, 16 May 2004 16:36:02 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org) by optimus.ietf.org with esmtp (Exim 4.20) id 1BPSHz-0004Kg-7P for nfsv4@optimus.ietf.org; Sun, 16 May 2004 16:31:15 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id QAA20032 for <nfsv4@ietf.org>; Sun, 16 May 2004 16:31:11 -0400 (EDT)
Received: from ietf-mx.ietf.org ([132.151.6.1] helo=ietf-mx) by ietf-mx with esmtp (Exim 4.32) id 1BPSHw-00012P-N0 for nfsv4@ietf.org; Sun, 16 May 2004 16:31:12 -0400
Received: from exim by ietf-mx with spam-scanned (Exim 4.12) id 1BPSGy-0000kB-00 for nfsv4@ietf.org; Sun, 16 May 2004 16:30:13 -0400
Received: from citi.umich.edu ([141.211.133.111]) by ietf-mx with esmtp (Exim 4.12) id 1BPSFv-0000Ir-00 for nfsv4@ietf.org; Sun, 16 May 2004 16:29:07 -0400
Received: from citi.umich.edu (dsl093-001-248.det1.dsl.speakeasy.net [66.93.1.248]) by citi.umich.edu (Postfix) with ESMTP id 9ED5F207D3 for <nfsv4@ietf.org>; Sun, 16 May 2004 16:29:07 -0400 (EDT)
Subject: Re: [nfsv4] FYI: Readdir not allowed on NFS pseudo root
To: nfsv4@ietf.org
From: Jim Rees <rees@umich.edu>
In-Reply-To: Stevan Steve Allen, Sat, 15 May 2004 21:18:53 PDT
Message-Id: <20040516202907.9ED5F207D3@citi.umich.edu>
Sender: nfsv4-admin@ietf.org
Errors-To: nfsv4-admin@ietf.org
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
List-Archive: <https://www1.ietf.org/mail-archive/working-groups/nfsv4/>
X-Original-Date: Sun, 16 May 2004 16:29:07 -0400
Date: Sun, 16 May 2004 16:29:07 -0400
X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on ietf-mx.ietf.org
X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=no version=2.60

  The current plan is to return NFS4ERR_NOENT for a READDIR of the NFSv4 
  pseudo root.

That seems wrong to me.  It would imply that the root does not exist, and in
my opinion would violate the spec.  I think you want something more like
NFS4ERR_ACCESS.

Other than that, an unreadable root seems acceptable, although unfriendly.
Why not put your flat file system somewhere below the root, and make that
unreadable?

_______________________________________________
nfsv4 mailing list
nfsv4@ietf.org
https://www1.ietf.org/mailman/listinfo/nfsv4