X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Tue, 2 Feb 2010 11:11:05 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: [bulk] - Re: Bash completion and symlinks problem Message-ID: <20100202101105.GK28659@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <8CCC8F85C5F2784387A32FAD835FB4E602DA8EE60B AT server03> <20100201151825 DOT GJ28659 AT calimero DOT vinschen DOT de> <8CCC8F85C5F2784387A32FAD835FB4E602DA8EE60E AT server03> <1ef5a52f1002020118g192e71fftead422643991da23 AT mail DOT gmail DOT com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1ef5a52f1002020118g192e71fftead422643991da23@mail.gmail.com> User-Agent: Mutt/1.5.20 (2009-06-14) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 On Feb 2 10:18, Csaba Raduly wrote: > On Mon, Feb 1, 2010 at 4:53 PM, DEWI - N. Zacharias <> wrote: > > > (snip) > > 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. > (snip) > > Only the completion did not work or better the completion for execution. > > Files without execute permission will not be offered for completion as > the executable. Not quite. On filesystems which don't maintain permissions or if noacl is set for the underlying mount, stat() opens the file and the first two bytes are read. If the file starts with a magic cookie, one of them "#!", the file gets the executable bits set. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- 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