X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=0.3 required=5.0 tests=AWL,BAYES_05,HK_OBFDOM X-Spam-Check-By: sourceware.org From: "DEWI - N. Zacharias" To: "cygwin AT cygwin DOT com" Date: Mon, 1 Feb 2010 16:53:07 +0100 Subject: AW: [bulk] - Re: Bash completion and symlinks problem Message-ID: <8CCC8F85C5F2784387A32FAD835FB4E602DA8EE60E@server03> References: <8CCC8F85C5F2784387A32FAD835FB4E602DA8EE60B AT server03> <20100201151825 DOT GJ28659 AT calimero DOT vinschen DOT de> In-Reply-To: <20100201151825.GJ28659@calimero.vinschen.de> Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-CheckCompat: OK X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Hi Corinna, > Von: Corinna Vinschen [mailto:corinna-cygwin AT cygwin DOT com] > Gesendet: Montag, 1. Februar 2010 16:18 > An: cygwin AT cygwin DOT com > Betreff: [bulk] - Re: Bash completion and symlinks problem > > On Feb 1 12:51, DEWI - N. Zacharias wrote: > > > > Hi all, > > > > another problem after updating cgwin . The bash completion don't work f= or > symlinks . > > > > assume having a /cygdrive/c/bin directory which contains symlinks to sc= ripts > in a central directory on our file sever say /cygdrive/x /centraltools/ > > > > eg. > > > > /cygdrive/c/bin/dosomething.pl -> /cygdrive/x /centraltools/dosomethin= g.pl > > > > The strange thing is, old links as well as new ones executed fine. Only= they > don't appear in the completion. > > > > Can someone tell me why ?? > > Work for me. Your symlink points to a script which has no execute > permissions (if "acl" is set on the target mount), or the script doesn't = start > with a shebang. Mount says: C: on /cygdrive/c type ntfs (text,posix=3D0,user,noumount,auto) X: on /cygdrive/x type nwfs (text,posix=3D0,user,noumount,auto) ls yields $ ls -al dosomething.pl -rw-r--r-- 1 n-zacharias Kein 94 2010-02-01 16:42 dosomething.pl Even if I use chmod 777 dosomething.pl there is no change in -rw-r--r-- Which seems to be no problem because it executes anyway. $ cat dosomething.pl #! /usr/bin/perl -w ############################ # # testscript print "Hello world\n"; Only the completion did not work or better the completion for execution. Kindly regards Norbert -------------------------------------------------------------------------- Dipl. Phys. Norbert Zacharias Wind Measurements & Power Curve Measurements DEWI GmbH Ebertstrasse 96 26382 Wilhelmshaven Germany Tel.: +49 4421 4808 876 Fax: +49 4421 4808 843 Email: N DOT Zacharias AT dewi DOT de Home: http://http://www.dewi.de DEWI GmbH - Deutsches Windenergie-Institut, Wilhelmshaven Commercial Register No.: Amtsgericht Oldenburg, HRB 130241 Managing Director: Jens Peter Molly Chairman of the supervisory board: Ministerialrat Dr. Niels K=E4mpny P Please consider the environment before printing this email. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple