From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 42545 invoked by alias); 10 Jul 2017 08:28:02 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 42489 invoked by uid 89); 10 Jul 2017 08:28:02 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-97.5 required=5.0 tests=AWL,BAYES_40,GOOD_FROM_CORINNA_CYGWIN,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,TBC autolearn=ham version=3.3.2 spammy=authorised, disclose, stating, caution X-HELO: drew.franken.de Received: from mail-n.franken.de (HELO drew.franken.de) (193.175.24.27) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 10 Jul 2017 08:28:00 +0000 Received: from aqua.hirmke.de (aquarius.franken.de [193.175.24.89]) (Authenticated sender: aquarius) by mail-n.franken.de (Postfix) with ESMTPSA id 9C37F721E280D for ; Mon, 10 Jul 2017 10:27:57 +0200 (CEST) Received: from calimero.vinschen.de (calimero.vinschen.de [192.168.129.6]) by aqua.hirmke.de (Postfix) with ESMTP id F233D5E040A for ; Mon, 10 Jul 2017 10:27:56 +0200 (CEST) Received: by calimero.vinschen.de (Postfix, from userid 500) id D6667A80522; Mon, 10 Jul 2017 10:27:56 +0200 (CEST) Date: Mon, 10 Jul 2017 08:28:00 -0000 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: [ANNOUNCEMENT] Updated: Cygwin 2.8.1-1 Message-ID: <20170710082756.GC30071@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="bAmEntskrkuBymla" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.8.0 (2017-02-23) X-SW-Source: 2017-07/txt/msg00132.txt.bz2 --bAmEntskrkuBymla Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 2613 On Jul 7 16:07, Adam Dinwoodie wrote: > On Mon, Jul 03, 2017 at 03:31:22PM +0200, Corinna Vinschen wrote: > > I uploaded a new Cygwin release 2.8.1-1 >=20 > This has introduced a regression that I'm seeing when running `ls` on > some network shares. I can reproduce the behaviour with an install of > only the base Cygwin packages, and the behaviour disappears if I > downgrade back to v2.8.0-1. >=20 > (Apologies for the obfuscation in the below report; I'm not clear on > what I'm authorised to disclose about my work network, and so erring > on the side of caution.) >=20 > Specifically, if I run `ls -l` or `ls --color=3Dalways` over certain > directories on one of my company's Windows network shares, I sometimes > see errors stating: >=20 > ls: cannot access '//path/to/file/in/listed/share': Bad address >=20 > The file that is listed in the error message appears as below in the > `ls -l` output: >=20 > -?????????? ? ? ? ? > ? >=20 > When this happens, the file is also coloured by `ls` as if it were not > executable; with v2.8.0-1 the file is correctly marked as executable. >=20 > Alternatively, in some circumstances when `ls`ing that directory, I > see no output whatsoever. This seems to happen in particular when > accessing the directory via a two-hop symlink, i.e. something created > like this: >=20 > $ ln -s //path/to/share symlink1 >=20 > $ ln -s symlink1 symlink2 >=20 > $ ls -l symlink1/ > >=20 > $ ls -l symlink2/ >=20 > $ >=20 > The behaviour doesn't seem to be entirely consistent, and I haven't > been able to characterise when this behaviour occurs and when it > doesn't, even on the same directory. >=20 > Given the behaviour seems to reliably not occur when running a bare > `ls`, I'm guessing the problem is relating to how Cygwin is parsing > the file permissions. I have not been able to reproduce this. The only relevant changes in 2.8.1 in terms of `ls' were related to reparse points (native symlinks, directory junctions, etc) and a change of st_blocks computation related to CompactOS compression. For a start, can you please check if you can reproduce the problem with the devolper snapshot from 20170606? Also, can you reproduce this with 2.8.1 under strace perhaps? If so, I'd be interested to see the strace output. If you fear to compromise company data, we can arrange to do this in private email. Thanks, Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --bAmEntskrkuBymla Content-Type: application/pgp-signature; name="signature.asc" Content-length: 819 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJZYzqMAAoJEPU2Bp2uRE+gvrsP/02RyebNI/qoGaP/Z3+UVLU0 /a977JRAwjV54M/pZC05Sm/FnvkBdbNhrwBT8F5Xy5WurjPZ/H43X3aV74Xaxl9q kfK5gfqMbIud5vGH3+Bxel1wut+DQ8etQpNxtPd1innJ0Hm0TE491zaGvv9rEKaC Sw8x2MPyETgT4a3Xw0EmFFTt817q9AjAZMB/UDPF+GS3rt2YI1UJx/C+zXAQG72/ E86mx2i9f7C1hvIQZi+LgpfdncPCmF5ZKf5gKWUCTXUwlucHs9Np1SkxIlfeYgZp YI2lLDmHDbEuV/lhkBLSDWT4C0jfVGgjGtI0zuDX7bhUW8t7cO2oIlxa4u7p0lZR SQN9FsMF6Zm54xQaLo0X6puPc/z1Ziij6ythYRrPuYd3oLbmPNnY7n6dyItZhC82 +eEgwStarGjoNNkZmBHzfiorAQ1inFNOkFpb78ivGrWS51538+BchB2hSXB88BZG geIVDRtDIpaQkI+SF48edcCKKUzYq3KmLpDPo3715eOYsP60QLzX/+xFoU1CYvCr LR6VF6QzIOCttXoPtYLm7lXAnV8Ky0J8ZGCT4Ujp9wsN2Sn0AR63A9G+2wGvaHO8 o889naLs8VqbIDgM/oqKDwlAtjdqwrlU4ATVq2qqQY3GkHpz1c/mRNfO1xSLqkCD ljUqjwMq9nb2tFVohbHz =mCbL -----END PGP SIGNATURE----- --bAmEntskrkuBymla--