From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from euclid.skiles.gatech.edu (list@euclid.skiles.gatech.edu [130.207.146.50]) by melb.werple.net.au (8.7.5/8.7.3) with ESMTP id HAA04033 for ; Sun, 21 Apr 1996 07:05:44 +1000 (EST) Received: (from list@localhost) by euclid.skiles.gatech.edu (8.7.3/8.7.3) id QAA24448; Sat, 20 Apr 1996 16:43:49 -0400 (EDT) Resent-Date: Sat, 20 Apr 1996 16:43:49 -0400 (EDT) From: Hrvoje.Niksic@public.srce.hr (Hrvoje Niksic) Message-Id: <199604202042.WAA11674@jagor.srce.hr> Subject: "Permission denied" PATH-searching bug To: zsh-workers@math.gatech.edu (zsh) Date: Sat, 20 Apr 1996 22:42:50 +0200 (MET DST) Reply-To: hniksic@public.srce.hr X-Mailer: ELM [version 2.4ME+ PL15 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Resent-Message-ID: <"VbXkw2.0.tz5.5oKUn"@euclid> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/938 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu I do not remember if this problem was reported, but it was present in all 2.6 beta releases of zsh. If you have a directory you may not read in your PATH, any command not found in search find will be followed by "Permission denied" error, instead of "Command not found". Script started on Sat Apr 20 22:37:03 1996 jagor% export PATH=/bin jagor% ls -a . .. typescript jagor% something-not-in-path zsh: command not found: something-not-in-path jagor% mkdir forbid jagor% chmod 0 forbid jagor% PATH=$PATH:forbid jagor% something-not-in-path zsh: permission denied: something-not-in-path jagor% script done on Sat Apr 20 22:37:43 1996 Experience has shown that this is extremely confusing to users, equally newbies and experienced ones (excluding the ones having experience with this bug:>). People often have a forbidden directory in their path, which means they get "Permission denied" every time they misspell a command. -- hniksic@srce.hr | Student of electrical engineering hniksic@fly.cc.fer.hr | University of Zagreb, Croatia ------------------------------------------------------------------ `VI' - An editor used by those heretics that don't subscribe to the Emacs religion.