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

Spencer Shepler <spencer.shepler@sun.com> Mon, 17 May 2004 02:15 UTC

Received: from optimus.ietf.org (optimus.ietf.org [132.151.1.19]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id WAA05671 for <nfsv4-archive@odin.ietf.org>; Sun, 16 May 2004 22:15:20 -0400 (EDT)
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org) by optimus.ietf.org with esmtp (Exim 4.20) id 1BPXak-0000YK-Gb for nfsv4-archive@odin.ietf.org; Sun, 16 May 2004 22:10:58 -0400
Received: (from exim@localhost) by www1.ietf.org (8.12.8/8.12.8/Submit) id i4H2Awss002124 for nfsv4-archive@odin.ietf.org; Sun, 16 May 2004 22:10:58 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org) by optimus.ietf.org with esmtp (Exim 4.20) id 1BPXX2-0008MS-HI for nfsv4-web-archive@optimus.ietf.org; Sun, 16 May 2004 22:07:08 -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 WAA05046 for <nfsv4-web-archive@ietf.org>; Sun, 16 May 2004 22:07:05 -0400 (EDT)
Received: from ietf-mx.ietf.org ([132.151.6.1] helo=ietf-mx) by ietf-mx with esmtp (Exim 4.32) id 1BPXWz-0006q2-HN for nfsv4-web-archive@ietf.org; Sun, 16 May 2004 22:07:05 -0400
Received: from exim by ietf-mx with spam-scanned (Exim 4.12) id 1BPXUq-0006HN-00 for nfsv4-web-archive@ietf.org; Sun, 16 May 2004 22:04:52 -0400
Received: from optimus.ietf.org ([132.151.1.19]) by ietf-mx with esmtp (Exim 4.12) id 1BPXTW-0005uo-02 for nfsv4-web-archive@ietf.org; Sun, 16 May 2004 22:03:30 -0400
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org) by optimus.ietf.org with esmtp (Exim 4.20) id 1BPXEW-0005xC-JV; Sun, 16 May 2004 21:48:00 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org) by optimus.ietf.org with esmtp (Exim 4.20) id 1BPXDG-0005gb-Mv for nfsv4@optimus.ietf.org; Sun, 16 May 2004 21:46:42 -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 VAA04060 for <nfsv4@ietf.org>; Sun, 16 May 2004 21:46:39 -0400 (EDT)
Received: from ietf-mx.ietf.org ([132.151.6.1] helo=ietf-mx) by ietf-mx with esmtp (Exim 4.32) id 1BPXDD-0000rf-Qu for nfsv4@ietf.org; Sun, 16 May 2004 21:46:39 -0400
Received: from exim by ietf-mx with spam-scanned (Exim 4.12) id 1BPXCP-0000Ze-00 for nfsv4@ietf.org; Sun, 16 May 2004 21:45:49 -0400
Received: from nwkea-mail-1.sun.com ([192.18.42.13]) by ietf-mx with esmtp (Exim 4.12) id 1BPXBc-00005Z-00 for nfsv4@ietf.org; Sun, 16 May 2004 21:45:00 -0400
Received: from engmail1mpk.Eng.Sun.COM ([129.146.11.21]) by nwkea-mail-1.sun.com (8.12.10/8.12.9) with ESMTP id i4H1iV6b002253 for <nfsv4@ietf.org>; Sun, 16 May 2004 18:44:31 -0700 (PDT)
Received: from [129.153.128.28] (this.Central.Sun.COM [129.153.128.28]) by engmail1mpk.Eng.Sun.COM (8.12.10+Sun/8.12.10/ENSMAIL, v2.2) with ESMTP id i4H1iUjW026652 for <nfsv4@ietf.org>; Sun, 16 May 2004 18:44:30 -0700 (PDT)
Mime-Version: 1.0 (Apple Message framework v613)
In-Reply-To: <C8CF60CFC4D8A74E9945E32CF096548AB80DD9@silver.nane.netapp.com>
References: <C8CF60CFC4D8A74E9945E32CF096548AB80DD9@silver.nane.netapp.com>
Content-Type: text/plain; charset="US-ASCII"; format="flowed"
Message-Id: <CD01D532-A7A3-11D8-A312-000A95DBCB70@sun.com>
Content-Transfer-Encoding: 7bit
From: Spencer Shepler <spencer.shepler@sun.com>
Subject: Re: [nfsv4] FYI: Readdir not allowed on NFS pseudo root
To: nfsv4@ietf.org
X-Mailer: Apple Mail (2.613)
Content-Transfer-Encoding: 7bit
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 20:44:56 -0500
Date: Sun, 16 May 2004 20:44:56 -0500
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=AWL autolearn=no version=2.60
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit

Seems like the server would return an "empty" response for READDIR
on this special server.

This also implies that clients must use LOOKUP to traverse the
server's namespace on things like traditional mount operations that
a client would do.  I know is very unlikely and bizarre that a client
would choose READDIR to peruse the server's namespace for
something like mount; I am just being pedantic.

Spencer

On May 16, 2004, at 4:02 PM, Noveck, Dave wrote:

> 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
>


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