public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Rainer Emrich <rainer@emrich-ebersheim.de>
To: cygwin@cygwin.com
Subject: Re: Change in logical link behaviour
Date: Tue, 03 Mar 2020 21:43:00 -0000	[thread overview]
Message-ID: <a5ba45d5-eaec-4e91-e0dd-f3cf516294b6@emrich-ebersheim.de> (raw)
In-Reply-To: <20200303164124.GE4045@calimero.vinschen.de>


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

Am 03.03.2020 um 17:41 schrieb Corinna Vinschen:
> 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.
>>>
>>> ...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/msg00043.html
>>>
>>> No 'l' mode flag, no 6th column in the mode output:
>>>
>>> Mode                LastWriteTime     Length Name
>>> ----                -------------     ------ ----
>>> -a---        03.03.2020     16:47          0 bar
>>>
>>>
>> For me it's different. That's realy strange.
>>
>> Ok, so I can't rely on powershell here. Is there a recommended procedure
>> for what I try in a script?
>>
>> 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.
Thank you, that's what I thought.

Rainer


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

  reply	other threads:[~2020-03-03 17:34 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-29 13:11 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 [this message]
2020-03-04 19:45               ` Andrey Repin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a5ba45d5-eaec-4e91-e0dd-f3cf516294b6@emrich-ebersheim.de \
    --to=rainer@emrich-ebersheim.de \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).