delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/04/07/05:40:38

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Mon, 7 Apr 2008 11:40:11 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Snapshot cygwin-inst-20080327 regression in ls (permissions?)
Message-ID: <20080407094011.GL23852@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <23fce8e60804011504q66d092aagf8411e13023b15fe AT mail DOT gmail DOT com> <20080402085643 DOT GY4468 AT calimero DOT vinschen DOT de> <20080402120541 DOT GA4468 AT calimero DOT vinschen DOT de> <23fce8e60804061352j5e0667aeg7152a1ebdde169cf AT mail DOT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <23fce8e60804061352j5e0667aeg7152a1ebdde169cf@mail.gmail.com>
User-Agent: Mutt/1.5.16 (2007-06-09)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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 Apr  6 21:52, James Abley wrote:
> On 02/04/2008, Corinna Vinschen <corinna-cygwin AT cygwin DOT com> wrote:
> > I just looked into this stuff again.  Actually I had implemented reading
> >  reparse points so that directory junctions are recognized as symlinks.
> >  But it didn't work for these special junctions on Vista for two reasons.
> >
> >  First, it turned out that these junctions have an ACL which explicitely
> >  denies everyone FILE_READ_DATA access.
> >
> >  Second, the SYSTEM attribute was evaluated before the REPARSE attribute,
> >  so these special reparse points were erroneously opened as Cygwin old-
> >  style symlinks instead of reading the reparse data from them.
> >
> >  I applied a patch which you'll find in the next snaphshot, which fixes
> >  both problems.
> >
> >
> >  Corinna
> 
> Not sure you need this any more, but I'm including the requested
> strace output. Thanks for the quick turnaround, I'll test the later
> snapshots and see how I get on.

Thanks for the strace.  It supported my theory and the aforementioned
patch should fix the problem.  Please give the next developer snapshot
a try.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019