zsh-workers
 help / color / mirror / code / Atom feed
From: Hrvoje.Niksic@public.srce.hr (Hrvoje Niksic)
To: zsh-workers@math.gatech.edu (zsh)
Subject: "Permission denied" PATH-searching bug
Date: Sat, 20 Apr 1996 22:42:50 +0200 (MET DST)	[thread overview]
Message-ID: <199604202042.WAA11674@jagor.srce.hr> (raw)

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.



                 reply	other threads:[~1996-04-20 21:05 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=199604202042.WAA11674@jagor.srce.hr \
    --to=hrvoje.niksic@public.srce.hr \
    --cc=hniksic@public.srce.hr \
    --cc=zsh-workers@math.gatech.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).