Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site amdcad.UUCP Path: utzoo!watmath!clyde!cbosgd!ihnp4!amdcad!jimb From: jimb@amdcad.UUCP (Jim Budler) Newsgroups: net.unix-wizards Subject: Re: unix quirks (chmod 000 dir) Message-ID: <1135@amdcad.UUCP> Date: Sun, 21-Apr-85 01:19:56 EST Article-I.D.: amdcad.1135 Posted: Sun Apr 21 01:19:56 1985 Date-Received: Sun, 21-Apr-85 23:48:01 EST References: <9938@brl-tgr.ARPA> Reply-To: jimb@amdcad.UUCP (Jim Budler) Organization: AMDCAD, Sunnyvale, CA Lines: 25 In article <9938@brl-tgr.ARPA> argv@ucb-vax.ARPA writes: > > >>% mkdir foo > >>% chmod 000 foo > >>% cd foo > >>foo: no such file or directory >You don't seem to understand: it shouldn't say: "no such file or directory", >it should say: "Permission denied." The example, was just that, an example. >This "bug" appears all the time whenever the permission is denied, it comes >up with the wrong error message! Try to cd into a path that you never had >any problems with and it says that it doesn't even EXIST. Then you panic and >call the system administrator and request a back up recovery and spend a >lot of time and effort (sometimes even money) to get a directory replaced >that never even went away. I just want the correct error message. Is this >clear now? If you don't have read permission then the directory isn't there to you. The fact that you can see it in a listing is because you have read permission in the parent directory. -- Jim Budler Advanced Micro Devices, Inc. (408) 749-5806 UUCPnet: {ucbvax,decwrl,ihnp4,allegra,intelca}!amdcad!jimb Compuserve: 72415,1200