[ANNOUNCEMENT] Updated: Cygwin 2.8.1-1

Adam Dinwoodie adam@dinwoodie.org
Fri Jul 7 15:07:00 GMT 2017

On Mon, Jul 03, 2017 at 03:31:22PM +0200, Corinna Vinschen wrote:
> I uploaded a new Cygwin release 2.8.1-1

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.

(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.)

Specifically, if I run `ls -l` or `ls --color=always` over certain
directories on one of my company's Windows network shares, I sometimes
see errors stating:

    ls: cannot access '//path/to/file/in/listed/share': Bad address

The file that is listed in the error message appears as below in the
`ls -l` output:

    -?????????? ? ?                  ?                    ?
?  <filename>

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.

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:

    $ ln -s //path/to/share symlink1

    $ ln -s symlink1 symlink2

    $ ls -l symlink1/
    <list of files>

    $ ls -l symlink2/


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.

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've attached redacted `cygcheck -srv` output.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: cygcheck.out
Type: application/octet-stream
Size: 14384 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20170707/a8310f86/attachment.obj>
-------------- next part --------------

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

More information about the Cygwin mailing list