From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 109269 invoked by alias); 3 Apr 2019 16:31:51 -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 109236 invoked by uid 89); 3 Apr 2019 16:31:51 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-101.8 required=5.0 tests=AWL,BAYES_00,GOOD_FROM_CORINNA_CYGWIN,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 spammy=HX-Languages-Length:822, essence, H*F:D*cygwin.com X-HELO: mout.kundenserver.de Received: from mout.kundenserver.de (HELO mout.kundenserver.de) (217.72.192.75) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 03 Apr 2019 16:31:50 +0000 Received: from calimero.vinschen.de ([24.134.7.25]) by mrelayeu.kundenserver.de (mreue106 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MIxmm-1hVzTd2LT0-00KMSn for ; Wed, 03 Apr 2019 18:31:47 +0200 Received: by calimero.vinschen.de (Postfix, from userid 500) id 3C991A8039B; Wed, 3 Apr 2019 18:31:47 +0200 (CEST) Date: Wed, 03 Apr 2019 16:31:00 -0000 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: cygpath -u converts quoted UNC paths to local Message-ID: <20190403163147.GG3337@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <209675900.20190403192000@yandex.ru> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="6AmSH+YAqnsWd9jO" Content-Disposition: inline In-Reply-To: <209675900.20190403192000@yandex.ru> User-Agent: Mutt/1.11.3 (2019-02-01) X-SW-Source: 2019-04/txt/msg00023.txt.bz2 --6AmSH+YAqnsWd9jO Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 815 On Apr 3 19:20, Andrey Repin wrote: > Greetings, All! >=20 > This can be considered "working by design", but it really imposes some se= rious > restrictions on interoperability with Cygwin, that I think can be avoided. >=20 > ... >=20 > After some further testing, this seems to be affecting IP-based UNC paths > only. >=20 > The essence is this: >=20 > $ dir "\\192.168.1.5\wwwroot\ccenter\bin\online.sh" > 26.10.2018 18:16 431 online.sh >=20 > $ cygpath -u \\192.168.1.5\wwwroot\ccenter\bin\online.sh > //192.168.1.5/wwwroot/ccenter/bin/online.sh >=20 > $ cygpath -u "\\192.168.1.5\wwwroot\ccenter\bin\online.sh" > /192.168.1.5/wwwroot/ccenter/bin/online.sh This shows that it's not cygpath. It's the quoting, thus the shell mangles the path. Corinna --=20 Corinna Vinschen Cygwin Maintainer --6AmSH+YAqnsWd9jO Content-Type: application/pgp-signature; name="signature.asc" Content-length: 833 -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEoVYPmneWZnwT6kwF9TYGna5ET6AFAlyk3/MACgkQ9TYGna5E T6Cp5g//cqpa97FlEUE3ntfhgARDp9iuImqHwJFhwQ0aeddhVE86dFNCUXeIuVDP 6kH0egsdj2ERYnv3ow/VWCxDsEbdn8HOgAyxSrPYl0TvbFM8bB8tRsqdwJFAmJ+p uX4DgGsdH6qiI3hGxnIxfEuU/ouYJZ4dBU1idyYHdFVbGDWYI0fSatWeer0zKKjh Y1nqVvGXef8HZPcXny3hxsyFDR8tVwy+YDcwFwKlXw6tZtxCq6PcU+pCB5iEK8v6 oHsf8KhtnMKz2uYn6q0AIYdShZfrpvIAVukHSCTRQhsvSJrFOdTzbfYrN7ZOB8uX 1viC9R+PsSjOaQFxKYNZdHUwbye5OmnkyHkGfENxYL/JN7oxHUOcok1B3huQyYO6 KZaMYWSAwVwFX7+UJYMOKuDjthEjDlN6gpRDafJDMMVHzdUTpieWMsTWKIXiR+Df mgYjmLqbl9wNcpXWkRlpLOJCCruzvhswkrtfOqS9xNHDjH/wx46SlrbhW5EOkVBq rzE4j9i6RZdauOEO97QhQdnbXBxC5oldKxlaZd8eaNkfnBgdnYjAfK78O38ytWUc wTbiydFv0E5mdz3NzSriR2ftvXoziY9mp/MXQKTkbgpvqdvTBrvxnTzZlrqtS/j0 iJBaVne/kx6jV+OSh/f64V//DGND/WpKaSucp7xQgbGpc/q/34M= =u6MT -----END PGP SIGNATURE----- --6AmSH+YAqnsWd9jO--