From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28378 invoked by alias); 15 Sep 2014 19:31:37 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 19088 Received: (qmail 27258 invoked from network); 15 Sep 2014 19:31:32 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, RCVD_NUMERIC_HELO,SPF_HELO_PASS,T_FSL_HELO_BARE_IP_2 autolearn=no version=3.3.2 X-Injected-Via-Gmane: http://gmane.org/ To: zsh-users@zsh.org From: zzapper Subject: Re: killed zsh completion (cygwin) Date: Mon, 15 Sep 2014 19:31:18 +0000 (UTC) Organization: Your Company Message-ID: References: <140915090859.ZM3789@torch.brasslantern.com> X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 95.149.104.119 User-Agent: Xnews/2009.05.01 X-Antivirus: avast! (VPS 140915-0, 09/15/2014), Outbound message X-Antivirus-Status: Clean zzapper wrote in news:XnsA3A9B583A20FFdavidrayninfocouk@80.91.229.13: > Bart Schaefer wrote in > news:140915090859.ZM3789@torch.brasslantern.com: > > >> 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