Zsh Mailing List Archive
Messages sorted by:
Re: 'insecure directories' warning
- X-seq: zsh-workers 12373
- From: Adam Spiers <adam@xxxxxxxxxx>
- To: zsh workers mailing list <zsh-workers@xxxxxxxxxxxxxx>
- Subject: Re: 'insecure directories' warning
- Date: Tue, 25 Jul 2000 20:27:18 +0100
- In-reply-to: <1000725160257.ZM20087@xxxxxxxxxxxxxxxxxxxxxxx>; from schaefer@xxxxxxxxxxxxxxxxxxxxxxx on Tue, Jul 25, 2000 at 04:02:57PM +0000
- Mail-followup-to: zsh workers mailing list <zsh-workers@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
- References: <20000725161723.A25056@xxxxxxxxxxxxxxxxxxxxxxx> <1000725160257.ZM20087@xxxxxxxxxxxxxxxxxxxxxxx>
- Reply-to: Adam Spiers <adam@xxxxxxxxxx>
Bart Schaefer (schaefer@xxxxxxxxxxxxxxxxxxxxxxx) wrote:
> On Jul 25, 4:17pm, Adam Spiers wrote:
> } Subject: 'insecure directories' warning
> } A month ago, Bart wrote:
> } > The other problem is that when I answer "y" to the question "there are
> } > insecure directories -- proceed?" I expected that to mean that it
> } > would USE those directories, not ignore them.
> } Nothing seems to have been done about this.
> Yes, it has. The patch was 12033 (the ChangeLog entry is rather brief).
Ah right. Sorry 'bout that :-)
> } Also, it would be nice if the user gets told which directories are
> } insecure, otherwise he doesn't stand much of a chance of fixing them.
> Hrm. Maybe a separate function to check for and report this? I don't
> know if we want the compinit output to get any more verbose than it is.
> On the other hand, it's only a one-line change, so maybe some of you can
> try this out and see what you think (the output is a couple of screenfuls
> long for me because of RedHat's special groups trick):
I'd say it's better than nothing, but yes, it is a bit too verbose if
the problem affects too many functions. A separate function would be
good; then it could output stuff like:
/usr/local/share/zsh/3.1.9-dev-3/functions/X contains functions not
owned by you or by root; the first such function is _x_arguments.
Continue anyway [ny]?
I'd also suggest replacing 'continue' with something which makes it
more obvious what the two choices are. At the moment if you're
invoking compinit from .zshrc, it sounds a bit like you want to exit
the shell if you hit 'n'.
Messages sorted by: