public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Change in logical link behaviour
@ 2020-02-29 13:11 Rainer Emrich
  2020-03-01  2:05 ` Andrey Repin
  2020-03-02 16:49 ` Corinna Vinschen
  0 siblings, 2 replies; 16+ messages in thread
From: Rainer Emrich @ 2020-02-29 13:11 UTC (permalink / raw)
  To: cygwin


[-- Attachment #1.1: Type: text/plain, Size: 934 bytes --]

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


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2020-03-04 19:05 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-29 13:11 Change in logical link behaviour Rainer Emrich
2020-03-01  2:05 ` Andrey Repin
2020-03-01 17:01   ` Rainer Emrich
2020-03-02 16:49 ` Corinna Vinschen
2020-03-03 13:17   ` Rainer Emrich
2020-03-03 13:39     ` Rainer Emrich
2020-03-03 14:19     ` Corinna Vinschen
2020-03-03 14:27       ` Rainer Emrich
2020-03-03 14:31         ` Rainer Emrich
2020-03-03 16:05         ` Corinna Vinschen
2020-03-03 16:32           ` Corinna Vinschen
2020-03-03 16:41             ` Rainer Emrich
2020-03-03 16:46               ` Rainer Emrich
2020-03-03 17:34               ` Corinna Vinschen
2020-03-03 21:43                 ` Rainer Emrich
2020-03-04 19:45               ` Andrey Repin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).