From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 45620 invoked by alias); 20 Nov 2015 09:29:12 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 45608 invoked by uid 89); 20 Nov 2015 09:29:12 -0000 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 Received: from aquarius.hirmke.de (HELO calimero.vinschen.de) (217.91.18.234) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 20 Nov 2015 09:29:11 +0000 Received: by calimero.vinschen.de (Postfix, from userid 500) id 362AAA8069E; Fri, 20 Nov 2015 10:29:09 +0100 (CET) Date: Fri, 20 Nov 2015 09:29:00 -0000 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: Symlink targets dereferenced when winsymlinks:native Message-ID: <20151120092909.GB20182@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <564BAA1A.8000703@gmail.com> <20151118175503.GT6402@calimero.vinschen.de> <564CBFCC.4020605@gmail.com> <20151118194819.GV6402@calimero.vinschen.de> <564E1AA0.6070001@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="9zSXsLTf0vkW971A" Content-Disposition: inline In-Reply-To: <564E1AA0.6070001@gmail.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-SW-Source: 2015-11/txt/msg00290.txt.bz2 --9zSXsLTf0vkW971A Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 1132 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 Content-length: 819 -----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--