delorie.com/archives/browse.cgi | search |
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:date:from:to:subject:message-id:reply-to | |
:references:mime-version:content-type:in-reply-to; q=dns; s= | |
default; b=msc++B1nSNrTru1wrwhX99pqfHEllQY+6Qk4hwiQ743hwZlObi8wN | |
ScVVou8aGeZCI3wRMKe159UfbZo0UmkqknGUkr4roZBM6gukyspSguDFunqpPmdd | |
CvtCIZ5LoIraq14gfPuCBXdNUmsZ0ERrG62R48ZFSm83+sEc/KbhBA= | |
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:date:from:to:subject:message-id:reply-to | |
:references:mime-version:content-type:in-reply-to; s=default; | |
bh=LoQjMiz8+SQbiwo/eXUyBVh322I=; b=joG06WvSINqesSxTbx01XOH4siLY | |
R7/jEbj/7OGUwQDD3GspFrkmpHiuZE2RdtD1FrBEb1yNN+EB6ZjMY63ZaGw5gFIw | |
KXLXrdUQKjI0H7Gr+paXxZtR8TuIXS5uA6VrAqM1DrjlSgi557fH2Mi+syKvVIEG | |
KBJpFBD7uQQaTnc= | |
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=-108.6 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_2,GOOD_FROM_CORINNA_CYGWIN,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 spammy= |
X-HELO: | mout.kundenserver.de |
Date: | Tue, 3 Mar 2020 17:41:24 +0100 |
From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Change in logical link behaviour |
Message-ID: | <20200303164124.GE4045@calimero.vinschen.de> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <30792264-c452-7ea2-c83f-f368322387ea AT emrich-ebersheim DOT de> <20200302164851 DOT GS4045 AT calimero DOT vinschen DOT de> <d04228d9-eff9-6dd4-6cfc-80b24bc8fa3b AT emrich-ebersheim DOT de> <20200303133925 DOT GA4045 AT calimero DOT vinschen DOT de> <29f11aed-a529-c88b-af5d-3607f4959871 AT emrich-ebersheim DOT de> <20200303143117 DOT GB4045 AT calimero DOT vinschen DOT de> <20200303154913 DOT GD4045 AT calimero DOT vinschen DOT de> <99c7b27b-9ea8-cf1e-d5ce-afc685246f97 AT emrich-ebersheim DOT de> |
MIME-Version: | 1.0 |
In-Reply-To: | <99c7b27b-9ea8-cf1e-d5ce-afc685246f97@emrich-ebersheim.de> |
--t3tFFy74pA5/PEcJ Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mar 3 17:05, Rainer Emrich wrote: > Am 03.03.2020 um 16:49 schrieb Corinna Vinschen: > > On Mar 3 15:31, Corinna Vinschen wrote: > >> On Mar 3 15:19, Rainer Emrich wrote: > >>> Am 03.03.2020 um 14:39 schrieb Corinna Vinschen: > >>>> Aha! So powershell does not show the 'l'. > >>> The most important thing is the difference between cygwin 3.0.7 and > >>> cygwin 3.1.4. For cygwin 3.0.7 the link indicator is shown even in > >>> powershell on Windows 7 but not with cygwin-3.1.4. And believe me, the > >>> only difference is the cygwin version. > >> > >> I may believe you, but believe me that Cygwin has no influence on > >> what powershell shows. See the output of cmd /c dir /a. The file > >> is a native symlink. > >=20 > > ...and for kicks I just tried this on W7 under Cygwin 3.0.7. The output > > is the same as I pasted in https://cygwin.com/ml/cygwin/2020-03/msg0004= 3.html > >=20 > > No 'l' mode flag, no 6th column in the mode output: > >=20 > > Mode LastWriteTime Length Name > > ---- ------------- ------ ---- > > -a--- 03.03.2020 16:47 0 bar > >=20 > >=20 > For me it's different. That's realy strange. >=20 > Ok, so I can't rely on powershell here. Is there a recommended procedure > for what I try in a script? >=20 > Check if the current cygwin environment is able to create native symlinks. Unless I'm missing some new and shiny Windows onboard tool, that's surprisingly tricky without creating your own executable checking just that. Off the top of my head I don't see any other way than calling cmd /c dir and some awk or sed hacking. Corinna --=20 Corinna Vinschen Cygwin Maintainer --t3tFFy74pA5/PEcJ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEoVYPmneWZnwT6kwF9TYGna5ET6AFAl5eiLQACgkQ9TYGna5E T6AMHA/8CbWtVqKL0SGc/etrHe5P+Z0Rcj0Q8DvDjQi2hNCCQ8u0m4jhCPBWGHXa gpdCwFfWQ6F82bio/Oypvmhvf9SrgYcsrYoPKeo1ulg7GLMTHfnbCj3ErntsAyjo GLCrGURakykmscA4PLOwMTxR9UKBR1fqmCqNqJNwDUwBbziKuBQ6Xlvupf//cqa1 H5ebP+zFkGB6bJkOe1cEdIm2y+zt0jpw6JGWa/jk0+cLuRuGWCccWHNkW0TJbHLv 0l5tCXHhGGdum7idb9PM91uRCr68AQJefkDxTM7Sj0+y7gyq0HZEZxC8xxbnIjva aPY0EvcayUXSw4KyOmX/F5pF0gJj28f7WvaPJut/4jV3EcReG64eq+fK3UB+1NgQ 9H0fYhv+XDWWi60KfwSOXe5HCRnbOVym5ao/fVnG0xVJFclESpGvNDBqv5/zrZsH e7cGLfaRghufWFzFp3RbJP6dq39wfqVpDkgdT/51gyoP9625QGTyoamzWRNFaUgm ecpVz0GX9tgA5Bis/faSLV/m1wPEm6NCtwreOPbH+uQrveYESBKZrb5XSNoVkfAe gDdxlnWysYg1CUl3hgHfWHu4Sn0hVvULEvw9u7Tvg84D2CNzDTGPiC1hHnx7FP+k C6XgUlV8yoS2m6IzTCkgo0Fj5CzIBgX/F48E9+zLkb8r55NHZ/8= =lBtN -----END PGP SIGNATURE----- --t3tFFy74pA5/PEcJ--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |