zsh-workers
 help / color / mirror / code / Atom feed
* "Permission denied" PATH-searching bug
@ 1996-04-20 20:42 Hrvoje Niksic
  0 siblings, 0 replies; only message in thread
From: Hrvoje Niksic @ 1996-04-20 20:42 UTC (permalink / raw)
  To: zsh

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.



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1996-04-20 21:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-04-20 20:42 "Permission denied" PATH-searching bug Hrvoje Niksic

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