This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Snapshot cygwin-inst-20080327 regression in ls (permissions?)
On Apr 6 21:52, James Abley wrote:
> On 02/04/2008, Corinna Vinschen <corinna-cygwin@cygwin.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/