delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/11/20/04:29:31

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=iMrh1W1TqTdLP54C1/1xF4XVYzwKIcu5qo96RslQSbt47V+5ZRY+I
ETjYnscUtOZxeeGijQWfcMKgoeTjXbFmTwGPboQN/pHivftofNNcSOWaU8ddyyr6
mpRGGShuEyS/QHZp18mddr3CiSV00OCEzoAkFeekgv6FMv8Kd95CfI=
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=eCksEirYgu64anXqmY2+ihlvDRo=; b=kBga9UcXIbtlB4nfwlJD4A2ricR+
4z3iclc6XmcjdC/XN/mWjyySLESeT/IqLJ4f065dz/rbo/efSNrDXHYDMCUxv5+C
r6uH04NAXdq1W5808V3uZMYp+WKuaMp0jm3yYW05GkHbWRdJuntbWwcGPz31Q070
oDaYrtPkTdTkrPY=
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-Virus-Found: No
X-Spam-SWARE-Status: No, score=-5.4 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2
X-HELO: calimero.vinschen.de
Date: Fri, 20 Nov 2015 10:29:09 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Symlink targets dereferenced when winsymlinks:native
Message-ID: <20151120092909.GB20182@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <564BAA1A DOT 8000703 AT gmail DOT com> <20151118175503 DOT GT6402 AT calimero DOT vinschen DOT de> <564CBFCC DOT 4020605 AT gmail DOT com> <20151118194819 DOT GV6402 AT calimero DOT vinschen DOT de> <564E1AA0 DOT 6070001 AT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <564E1AA0.6070001@gmail.com>
User-Agent: Mutt/1.5.23 (2014-03-12)

--9zSXsLTf0vkW971A
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Nov 19 19:53, David Macek wrote:
> On 18. 11. 2015 20:48, Corinna Vinschen wrote:
> > On Nov 18 19:13, David Macek wrote:
> >> On 18. 11. 2015 18:55, Corinna Vinschen wrote:
> >>> On Nov 17 23:28, David Macek wrote:
> >>>> I went through the UG looking for differences between regular Cygwin
> >>>> symlinks and NTFS symlinks, but couldn't find this documented. It
> >>>> seems that when using winsymlinks:native, the target path is first
> >>>> dereferenced before storing it in the link.
> >>>
> >>> It's a result of the native symlink being a Windows path.  The
> >>> ultimate conversion from POSIX to Windows path dereferences all
> >>> symlinks.
>=20
> Hmm. I just performed a test on my Cygwin installation and it doesn't
> seem to match the described behavior.

Symlinks within the path, e.g : /home/foo/symlink/bar/baz

If the above symlink is not a native symlink, the above path
converted to Windows notation

  C:\cygwin64\home\foo\symlink\bar\baz

is invalid.


Corinna

--=20
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

--9zSXsLTf0vkW971A
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJWTuflAAoJEPU2Bp2uRE+gAqIQAIlhFsgGhKB4A0JnPZy/XTzT
z4YqMgH2iAIi74USgeshmTJhlpB822UA9WtTz3xqitmJHfbf3uvP4HXY6X2OXxEz
sopDV0uSU/Q7tHWpQzrGOKnUWPPqia1t2WmVzCVOhxNwCEvo1L1Q39VNFIARMdwC
RQpJxR0F6Rd2r4FOCT2KaAoIu34wSkYqw4AjacbUh3ZFzm+ZW1ErHfRORbaUPiZM
HbNetxXtdsG7fdh32R5ISmfOgFDt06hs4/L5nbHRotAENPBEph/nVt6DcGql7xdE
16DvM0vN6tAwXlSDtJXn42KHj72Y9bew+XE+WUZVE3XUkJrSc/0a7ttHUl4CYucl
VbW4kZ+m18qXkeAgIhrmr0nHT4NyCCRNHiAQFZjsxNM/3xBS7YTkY/2FToCW0Kgs
lM3grMK7bMhtIzeAzEgNrZsHhU6raG4iq02t5kp1RWra3nLpx/YTQ9cjCfcgGhrk
qmqsuKULfFBkNN2yFF2sn5ZYTKKmujr9Ic1V3/6uwdmyZSlGijR3BUuILEFZQSZO
Vo92hEljK/S7zes+u8uhG8bAAVPPSf0gpnWdiSFI4am1j7HRU5KR/G/vT7fAGD5Y
xEA7z6FZ3MZwGXL0xlbultO8pTyE7eiaehxgZYOOKElH+BdDzFmsgjcLDkZm38ck
tIjOYqmn81BWfJ84IMNw
=vX7a
-----END PGP SIGNATURE-----

--9zSXsLTf0vkW971A--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019