zsh-workers
 help / color / mirror / code / Atom feed
* 'Permission denied" problem when completing directories
@ 2000-04-21 13:45 Andrej Borsenkow
  0 siblings, 0 replies; 2+ messages in thread
From: Andrej Borsenkow @ 2000-04-21 13:45 UTC (permalink / raw)
  To: ZSH workers mailing list

bor@itsrm2% cd /opt/openFT/desktop/
Completing directory
TclTk/    desktop/  ft/       samples/  scripts/

(menu selection is active and current item is `desktop'); now I press
`/', that is bound to accept-and-infer-next-history

bor@itsrm2% cd /opt/openFT/desktop/
Completing `directory'

now press TAB

bor@itsrm2% cd
Completing `directory'

The reason is most probably permissions:

bor@itsrm2% l /opt/openFT/desktop
ls: Cannot access directory /opt/openFT/desktop: Permission denied

but should not Zsh handle it more gracefully?

-andrej

Have a nice DOS!
B >>


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: 'Permission denied" problem when completing directories
@ 2000-04-25 11:34 Sven Wischnowsky
  0 siblings, 0 replies; 2+ messages in thread
From: Sven Wischnowsky @ 2000-04-25 11:34 UTC (permalink / raw)
  To: zsh-workers


Andrej Borsenkow wrote:

> bor@itsrm2% cd /opt/openFT/desktop/
> Completing directory
> TclTk/    desktop/  ft/       samples/  scripts/
> 
> (menu selection is active and current item is `desktop'); now I press
> `/', that is bound to accept-and-infer-next-history
> 
> bor@itsrm2% cd /opt/openFT/desktop/
> Completing `directory'
> 
> now press TAB
> 
> bor@itsrm2% cd
> Completing `directory'
> 
> The reason is most probably permissions:
> 
> bor@itsrm2% l /opt/openFT/desktop
> ls: Cannot access directory /opt/openFT/desktop: Permission denied
> 
> but should not Zsh handle it more gracefully?

Yes. And it does for me... i.e. the string doesn't just vanish,
neither with my setup nor with `zsh -f'. Could you...


A different question is whether menu-selection shouldn't exit when
a-a-i-n-h yields no matches. I've thinking about this for quite some
time, but couldn't find a good solution for what to do when this
happens.

Bye
 Sven


--
Sven Wischnowsky                         wischnow@informatik.hu-berlin.de


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-04-25 11:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-04-21 13:45 'Permission denied" problem when completing directories Andrej Borsenkow
2000-04-25 11:34 Sven Wischnowsky

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