Greetings, Rainer Emrich! > 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. I get the same behavior is not using Cygwin to create the link at all, this is probably a change in how Cygwin interprets symlinks. -- With best regards, Andrey Repin Sunday, March 1, 2020 4:51:46 Sorry for my terrible english... -- 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