This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

AW: [bulk] - Re: [bulk] - Re: Bash completion and symlinks problem


Hi,
>
--------------------------------------------------------------------------
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.Zacharias@dewi.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ämpny

P Please consider the environment before printing this email.

-----Ursprüngliche Nachricht-----
> Von: Corinna Vinschen [mailto:corinna-cygwin@cygwin.com]
> Gesendet: Dienstag, 2. Februar 2010 11:11
> An: cygwin@cygwin.com
> Betreff: [bulk] - Re: [bulk] - Re: Bash completion and symlinks problem
>
> 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.


This is the case here, also no  noacl is used  so whats going on ??
With the last version there was no problem with changing permissions to execute or testing them.

Have a nice time
Norbert


>
>
> 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



--
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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]