delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/02/29/08:11:55

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:to:from:subject:message-id:date:mime-version
:content-type; q=dns; s=default; b=LjvW2LmqLn/yzonSa+vLwImhDzhGD
ogc2cSGG8iybGWP35B8WYAZN8GBtu/D6c2Krmd949fJ8i3GxI0FGr4l2zTzbeHWM
1RrQVbYNNHggQicOveamyhLqTYIyZqxoE6EcBQ3MS+a/IusAZTve0E5J5Qj2pyI2
4jT2yIwrO8Rwmo=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:to:from:subject:message-id:date:mime-version
:content-type; s=default; bh=VDEi5J2ZF5lU9coV/zsYPzoM0l0=; b=OLx
plyHVlkTY141SvrMkH7emnX96YAI9nBF1hK5eWhgv4CBzeMvYA5DFpHa6YMJ3TWg
pxdaTxRUbYI6UZ9REDQ6dTIXv5wI/OFHTncbfmBaN2xZz+emvvMOUyeFB59m98pE
3wK/XrK5PFLuIgE7wOqxk7NPWswoGXa51nKnvgdo=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=-6.9 required=5.0 tests=BAYES_00,GIT_PATCH_2,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 spammy=indication
X-HELO: mout.kundenserver.de
To: cygwin AT cygwin DOT com
From: Rainer Emrich <rainer AT emrich-ebersheim DOT de>
Subject: Change in logical link behaviour
Message-ID: <30792264-c452-7ea2-c83f-f368322387ea@emrich-ebersheim.de>
Date: Sat, 29 Feb 2020 14:10:49 +0100
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0
MIME-Version: 1.0

--TiSXjzPACgNCZbgeM09SBNLjnerqzMADI
Content-Type: multipart/mixed; boundary="71gaHhHwyW1fVWvDpvBSasBlLba6dcJii"


--71gaHhHwyW1fVWvDpvBSasBlLba6dcJii
Content-Type: text/plain; charset=utf-8
Content-Language: de-DE
Content-Transfer-Encoding: quoted-printable

I try to reliably determine if native Windows symlink are working for a
current cygwin environment in a shell script.

Therefor I used a powershell snipped:

mkdir asdfgh
ln -s asdfgh/ asdfgh-1
powershell "& {Get-Item -Path asdfgh-1 | Select-Object}"

On cygwin 3.0.7 the output is as follows:


    Directory: D:\cygwin\home\rainer\temp


Mode                LastWriteTime         Length Name
----                -------------         ------ ----
d----l       29.02.2020     13:58                asdfgh-1

On cygwin 3.1.4 I get:


    Directory: D:\cygwin\home\rainer\temp


Mode                LastWriteTime         Length Name
----                -------------         ------ ----
d----        29.02.2020     13:58                asdfgh-1

So now there is no indication that this is a link. Is this new behaviour
intended or a bug?

I did not try on Windows 10, I'm still on windows 7.

Rainer


--71gaHhHwyW1fVWvDpvBSasBlLba6dcJii--

--TiSXjzPACgNCZbgeM09SBNLjnerqzMADI
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEQq4BT9NfW50eSlCTkX2ILOIqatIFAl5aYtkACgkQkX2ILOIq
atJ3dw/9GdFcjodQKjoW3VirnOUNlp1GI/ndkMJxPa15/02bSPXWIh4ZE86Q8Ztc
qfsVCaU7hhYQs8TJzFrqj/7EbB+euUVTindAId5m8UVO+imJbH/A/cc6P+Dw1uJA
yuo52jVArQxGsFnPAaqkeiNCovaiAhCnK9QX+4HTADAmtJD/bMGS0xwQji6e6JYX
DC6YpP1W3DdRPdNUkkox4gCl62JDz9wlz8cl2Q5iPlSuUmSCo9Ifes7jiT2dxPYY
rZgzLWUE8yVIel1qLmuSwu1gZIfaQeLo+y5U0DC2GUQx9bMPUUNvf2YAbCcS9KQr
3cl7dtRKMikSydhcWcA12qR3VWQoEWNiahGq76N+XQJEwuZ/fF7X/Bx3jlSliSrS
21JkCOscEaH734ikiP4Qd0BqA+tLgAOmMP8aFZm672CK8gVMw8gYtxPnEomB7Amu
Uj92Dslw8FZwLGUCMFv5waWq5aBSEfKtSgGwS/J9lZEOPkMd8biyl2F1YSXYQMkd
/mcH2bZAEEkAfVHhdv3ZPAPEvEYpneuYbe8X07DkVmRbwdtEer63rvRSMqfF+RDD
M1ab96XPZpbWCzSrZ+wVzBSGibNlApI9A9+0wpxhgU3nk/8YT8mE7oBv9x85ZEH2
gFdMhS2g9ZgKLbmjf/auoEBau7R0LcpCXFxalHQlfGYS64bGKRs=
=i6qV
-----END PGP SIGNATURE-----

--TiSXjzPACgNCZbgeM09SBNLjnerqzMADI--

- Raw text -


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