From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <85d65884112bdef6a88eb68645a087ff@proxima.alt.za> To: 9fans@cse.psu.edu Subject: Re: [9fans] chdir to mode 000 directory Date: Thu, 3 Jun 2004 07:49:15 +0200 From: lucio@proxima.alt.za In-Reply-To: <54b0ae22845d93a48296e5105042d8ec@orthanc.cc.titech.ac.jp> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Topicbox-Message-UUID: 9109d6f4-eacd-11e9-9e20-41e7f4b1d025 > Clearly, I'm missing something..., but how do I interpret > this behaviour? > > % mkdir dir > % chmod 000 dir > % ls -ld dir > d---------- M 9 nashi nashi 0 Jun 3 10:51 dir > % cd dir > % __chdir succeeds!__ > % pwd > pwd: permission denied > -- The semantics of directory permissions are different: you can walk to a directory without permission, but you can't walk to its elements. It may seem odd, but I presume it is more consistent. Perhaps a result of using 9P? ++L