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

"Noveck, Dave" <Dave.Noveck@netapp.com> Sun, 16 May 2004 21:26 UTC

Received: from optimus.ietf.org (iesg.org [132.151.1.19]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA22421 for <nfsv4-archive@odin.ietf.org>; Sun, 16 May 2004 17:26:27 -0400 (EDT)
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org) by optimus.ietf.org with esmtp (Exim 4.20) id 1BPT8I-0002cz-8j for nfsv4-archive@odin.ietf.org; Sun, 16 May 2004 17:25:18 -0400
Received: (from exim@localhost) by www1.ietf.org (8.12.8/8.12.8/Submit) id i4GLPImI010102 for nfsv4-archive@odin.ietf.org; Sun, 16 May 2004 17:25:18 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org) by optimus.ietf.org with esmtp (Exim 4.20) id 1BPT1Z-00025c-Qn for nfsv4-web-archive@optimus.ietf.org; Sun, 16 May 2004 17:18:21 -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 RAA22205 for <nfsv4-web-archive@ietf.org>; Sun, 16 May 2004 17:18:18 -0400 (EDT)
Received: from ietf-mx.ietf.org ([132.151.6.1] helo=ietf-mx) by ietf-mx with esmtp (Exim 4.32) id 1BPT1X-0007Le-JJ for nfsv4-web-archive@ietf.org; Sun, 16 May 2004 17:18:19 -0400
Received: from exim by ietf-mx with spam-scanned (Exim 4.12) id 1BPT0b-00073m-00 for nfsv4-web-archive@ietf.org; Sun, 16 May 2004 17:17:22 -0400
Received: from optimus.ietf.org ([132.151.1.19]) by ietf-mx with esmtp (Exim 4.12) id 1BPT0J-0006lj-00 for nfsv4-web-archive@ietf.org; Sun, 16 May 2004 17:17:03 -0400
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org) by optimus.ietf.org with esmtp (Exim 4.20) id 1BPSvX-00018W-6m; Sun, 16 May 2004 17:12:07 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org) by optimus.ietf.org with esmtp (Exim 4.20) id 1BPSsw-0000hC-Jq for nfsv4@optimus.ietf.org; Sun, 16 May 2004 17:09:26 -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 RAA21544 for <nfsv4@ietf.org>; Sun, 16 May 2004 17:09:23 -0400 (EDT)
Received: from ietf-mx.ietf.org ([132.151.6.1] helo=ietf-mx) by ietf-mx with esmtp (Exim 4.32) id 1BPSsu-0004X1-BO for nfsv4@ietf.org; Sun, 16 May 2004 17:09:24 -0400
Received: from exim by ietf-mx with spam-scanned (Exim 4.12) id 1BPSq9-0003gU-00 for nfsv4@ietf.org; Sun, 16 May 2004 17:06:34 -0400
Received: from mx01.netapp.com ([198.95.226.53]) by ietf-mx with esmtp (Exim 4.12) id 1BPSnT-0002s1-00 for nfsv4@ietf.org; Sun, 16 May 2004 17:03:47 -0400
Received: from hawk.corp.netapp.com (hawk [10.57.156.122]) by mx01.netapp.com (8.12.10/8.12.10/NTAP-1.4) with ESMTP id i4GL3HZh028031; Sun, 16 May 2004 14:03:17 -0700 (PDT)
Received: from svlexc01.hq.netapp.com (svlexc01.corp.netapp.com [10.57.156.135]) by hawk.corp.netapp.com (8.12.9/8.12.9/NTAP-1.5) with ESMTP id i4GL3GhH017033; Sun, 16 May 2004 14:03:17 -0700 (PDT)
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0
Subject: RE: [nfsv4] FYI: Readdir not allowed on NFS pseudo root
Message-ID: <C8CF60CFC4D8A74E9945E32CF096548AB80DD9@silver.nane.netapp.com>
Thread-Topic: [nfsv4] FYI: Readdir not allowed on NFS pseudo root
Thread-Index: AcQ7hag7tyQplD7fQteqgZc79kVQaAAA2M7Q
From: "Noveck, Dave" <Dave.Noveck@netapp.com>
To: Jim Rees <rees@umich.edu>, nfsv4@ietf.org
Content-Transfer-Encoding: quoted-printable
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 14:02:52 -0700
Date: Sun, 16 May 2004 14:02:52 -0700
X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on ietf-mx.ietf.org
X-Spam-Status: No, hits=0.1 required=5.0 tests=AWL autolearn=no version=2.60
Content-Transfer-Encoding: quoted-printable
Content-Transfer-Encoding: quoted-printable

NFS4ERR_NOENT is not listed as a valid error for READDIR.

-----Original Message-----
From: Jim Rees [mailto:rees@umich.edu]
Sent: Sunday, May 16, 2004 4:29 PM
To: nfsv4@ietf.org
Subject: Re: [nfsv4] FYI: Readdir not allowed on NFS pseudo root 


  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

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