Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: killed zsh completion (cygwin)
- X-seq: zsh-users 19088
- From: zzapper <david@xxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Re: killed zsh completion (cygwin)
- Date: Mon, 15 Sep 2014 19:31:18 +0000 (UTC)
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- Organization: Your Company
- References: <XnsA3A9655E4AD9Fdavidrayninfocouk@80.91.229.13> <140915090859.ZM3789@torch.brasslantern.com> <XnsA3A9B583A20FFdavidrayninfocouk@80.91.229.13>
zzapper <david@xxxxxxxxxxxxxx> wrote in
news:XnsA3A9B583A20FFdavidrayninfocouk@80.91.229.13:
> Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote in
> news:140915090859.ZM3789@xxxxxxxxxxxxxxxxxxxxxx:
>
>
>> zsh -f
>> % source $^fpath/compaudit(N[1])
>>
>
> Drat it was just the old 'insecure directories' problem (Thanks BART)
>
> The following seems to have fixed it:-
>
> chmod -R 755 /usr/share/zsh/
>
>
> compaudit
> There are insecure directories:
> /usr/share/zsh/site-functions
> /usr/share/zsh/5.0.2/functions
> /usr/share/zsh
> /usr/share/zsh/5.0.2
Follow http://stackoverflow.com/questions/9561759/why-cannot-chmod-in-
cygwin-on-windows-8-cp (Robert's Solution)
or see below
Look up the group ID of the "Users" group in /etc/group (or the
equivalent group name for your locale).
In my installation this was 545, YMMV cat /etc/group|egrep '^Users:'
will get you the correct line. the third field on the line is the group
id. (cat /etc/group|egrep '^Users:'|cut -f3 -d':' to just get the id).
Edit your /etc/passwd file. Locate the record for your user. The 4th
field is the "primary group" for the user. It is incorrectly set to a
non-existent group. Change that number to the number you found in step 1
above. Save the etc password file.
Close any open cygwin windows/terminals and then open a new one. Create
a new file. It should have a group of "Users" and you should be able to
change it's permissions as desired.
--
zzapper
https://twitter.com/dailyzshtip
---
This email is free from viruses and malware because avast! Antivirus protection is active.
http://www.avast.com
Messages sorted by:
Reverse Date,
Date,
Thread,
Author