On Tue, Jan 12, 2021 at 5:20 PM Andrey Repin wrote:
>
> Again, the properties are read BY SYSTEM at the moment the link is created.
> In other words, Windows is unable to create a link to nonexistent
> (unreachable) target (not directly, at least).
This is false. Links can be created arbitrarily
Greetings, Matt D.!
Please no top posting in this list.
> On Mon, Jan 4, 2021 at 10:46 AM Jeffrey Altman via Cygwin wrote:
>>
>> On 1/4/2021 10:27 AM, Matt D. via Cygwin wrote:
>> > I am using symbolic links native to Windows. My CYGWIN environment
>> > variable has been set to
Operations like cp and rsync etc. should still work. The type of
symbolic link to be created can be read from the file attributes of
the one being copied.
On Mon, Jan 4, 2021 at 10:46 AM Jeffrey Altman via Cygwin
wrote:
>
> On 1/4/2021 10:27 AM, Matt D. via Cygwin (cygwin@cygwin.com) wrote:
> >
Matt D. via Cygwin writes:
> The normal behavior for both Windows and Linux is to create the
> symbolic link whether the target exists or not.
That's not the case on Windows or rather it has restrictions that can
trip you up. On Windows you must specify if the symbolic link points to
a directory
On 1/4/2021 10:27 AM, Matt D. via Cygwin wrote:
> I think there is a misunderstanding with how to set up your
> environment to reproduce my test cases. I did state in the subject
> "native symbolic links" but I can see that this can be misinterpreted
> and I should have clarified.
>
> I am using
On 1/4/2021 10:27 AM, Matt D. via Cygwin (cygwin@cygwin.com) wrote:
> I am using symbolic links native to Windows. My CYGWIN environment
> variable has been set to "winsymlinks:nativestrict" and my account has
> permission to make symbolic links. This is an issue specifically with
> Cygwin; I have
I think there is a misunderstanding with how to set up your
environment to reproduce my test cases. I did state in the subject
"native symbolic links" but I can see that this can be misinterpreted
and I should have clarified.
I am using symbolic links native to Windows. My CYGWIN environment
On 1/4/2021 5:36 AM, Matt D. via Cygwin wrote:
> Did you try any of my test cases? This can't and doesn't work for the
> reasons I outlined in my previous message:
>
> $ cp -av folder_a/a folder_b/
> 'folder_a/a' -> 'folder_b/a'
> cp: cannot create symbolic link 'folder_b/a': No such file or
Did you try any of my test cases? This can't and doesn't work for the
reasons I outlined in my previous message:
$ cp -av folder_a/a folder_b/
'folder_a/a' -> 'folder_b/a'
cp: cannot create symbolic link 'folder_b/a': No such file or directory
$ cp -dv folder_a/a folder_b/
'folder_a/a' ->
On 2021-01-02 21:16, Matt D. via Cygwin wrote:
I have a folder with a lot of native Windows symbolic links. I want to
copy this folder.
I cannot rsync or cp this folder due to Cygwin being unable to create
symbolic links without also wanting to verify the link target. This
can be demonstrated:
I have a folder with a lot of native Windows symbolic links. I want to
copy this folder.
I cannot rsync or cp this folder due to Cygwin being unable to create
symbolic links without also wanting to verify the link target. This
can be demonstrated:
$ ln -s a b
ln: failed to create symbolic link
11 matches
Mail list logo