delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/03/01/12:02:06

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:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type; q=dns; s=default; b=Kr8x
gZtkAQcenQF/33gORcTTURbecG+SJYQP1V5evtYQ4FIkQ4Tl49piJ0JvrKjCnwil
jSR6U540tuH1/wLJXqvUP+gX6073KhyzZu1n1B2nPigg1aXPNsKNuBQXkVg34Ga/
ugMkPHl1eT3lPFBH+yy6k10lLlnQTvdxtEaAT8o=
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:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type; s=default; bh=/ngiTWSvhB
dvKpX5T2wd6Wmoobc=; b=LyMWaXgrTnVajBWtuocDym4eEK+PO84rXktNRvWJmx
8xeBTMD5yVFKfdYATBHsHdFTOkFcfkQxmgDOXp/nlmO/I4qrnYcMhfqUaG88zkNt
LWujiSdra8ZMOY1fE2DtUpPwZnPCFJqS4u17Iq5SdkfEmcDFEbFzGU2RPAaJbvIz
w=
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=sure!, H*MI:sk:7817972, H*i:sk:7817972, H*f:sk:7817972
X-HELO: mout.kundenserver.de
Subject: Re: Change in logical link behaviour
To: cygwin AT cygwin DOT com
References: <30792264-c452-7ea2-c83f-f368322387ea AT emrich-ebersheim DOT de> <781797215 DOT 20200301045239 AT yandex DOT ru>
From: Rainer Emrich <rainer AT emrich-ebersheim DOT de>
Message-ID: <8011248a-839f-5935-1694-a84057507169@emrich-ebersheim.de>
Date: Sun, 1 Mar 2020 18:00:56 +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
In-Reply-To: <781797215.20200301045239@yandex.ru>

--67N8OAr5I8vVtmr8spP7LevquvgsMiV5J
Content-Type: multipart/mixed; boundary="rppSTtcZwiCGjwS8AEz5OHmLScbz1RV31"


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

Hi Andrey,

Am 01.03.2020 um 02:52 schrieb Andrey Repin:
>> I try to reliably determine if native Windows symlink are working for a
>> current cygwin environment in a shell script.
>=20
>> Therefor I used a powershell snipped:
>=20
>> mkdir asdfgh
>> ln -s asdfgh/ asdfgh-1
>> powershell "& {Get-Item -Path asdfgh-1 | Select-Object}"
>=20
>> On cygwin 3.0.7 the output is as follows:
>=20
>=20
>>     Directory: D:\cygwin\home\rainer\temp
>=20
>=20
>> Mode                LastWriteTime         Length Name
>> ----                -------------         ------ ----
>> d----l       29.02.2020     13:58                asdfgh-1
>=20
>> On cygwin 3.1.4 I get:
>=20
>=20
>>     Directory: D:\cygwin\home\rainer\temp
>=20
>=20
>> Mode                LastWriteTime         Length Name
>> ----                -------------         ------ ----
>> d----        29.02.2020     13:58                asdfgh-1
>=20
>> So now there is no indication that this is a link. Is this new behaviour
>> intended or a bug?
>=20
>> I did not try on Windows 10, I'm still on windows 7.
>=20
> I get the same behavior is not using Cygwin to create the link at all, th=
is is
> probably a change in how Cygwin interprets symlinks.
I don't know what's going on here. The only difference is the cygwin
version. So, the different behaviour is caused by cygwin while creating
the link, for sure!

Somebody any idea?

Rainer


--rppSTtcZwiCGjwS8AEz5OHmLScbz1RV31--

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

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

iQIzBAEBCAAdFiEEQq4BT9NfW50eSlCTkX2ILOIqatIFAl5b6k8ACgkQkX2ILOIq
atK8mg//Q8E4F3q0OGaiFeruNSXHDYXZTbWPGtV1bYRWKr/ZWRwbvEi/NFkww6qo
KhJasyUAhNFccXqTPlcFmn8pQHWrvPep5O8Pz7hxEZ7zT2DlUFq3fFJZnNIo2OOo
0QfPFbMu5+33vPwCRx9+53mdSFsI1IzkLuzfjNTx7rUhM+vZPrS3y4AMGkWaeK9N
54FsgUohaWmDequGwonlljHaFN9wKvNHpxNu3Vbc0fXTasUWrRkZ/0Ic8efRj2jn
wnXfVWpNy5+Cz/C3g/zHEnmm04jpCXBKc80MuKHmRD0FJvPc+V5F/tFs7xsF1xTq
ZBgSVofNI9dxgFgNJSpHkt4RDKOsgpMpC2nEsuLwuNVWCb9bqZuCe8DSvfIG6rAg
wX99xyBsorQmx5Pta/AsPy7gR9LIpzAtJyIghLKl0zw5DsKjyitc14u38CeOz8Of
cK/IJAE2Mbcl8HBkUIcsa1sv07LHXj818V38cistTLiUDDWYKgSsD7UhvbO7lA8e
Z81LTKaIDpmHedC1d0pZIX9gLLdqlAhYAOoP/ReqHxa9rTWGEjuJ1YNxOP+HFvGu
HdkGnecz6j+TS+O3JWu/DJygHxZ3CXBI6naj4MtqE1vDWXsZPyuGB7+omqEDhmEl
BRzRa3AkJTFzHp4WXqsv1ftq8S9Mpn0tw2lC9okz1T/0XjQ6B2g=
=5TIp
-----END PGP SIGNATURE-----

--67N8OAr5I8vVtmr8spP7LevquvgsMiV5J--

- Raw text -


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