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=v0tTGYJvA8IjL2SXB1aVQ5V5ws9z38+y15MH4R4n8vHcVbS/0ZL4Q cA2//u9JHfH3IVGd08vyD8/AVKXozWicVW/aqqqeN5BSi/Nf17G1zZysSRltuoI5 nHQyA+l4fuZLAXSXc24dUQoqFKMMekO5bpomMirxegGEh10D6DUwwU= 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=qbUgnID/SpkivCcm0S2JcJlHHDk=; b=ZxyPNGGp1RHSC2MXS05jZjj028Yh J9b1b3aaJs2dRw4ajxR2F61hU/ZhLkCfnn+cxK0WyXR/uHcrf0/RkOGo3PwYxohh dQWQzSVhE+/XO3r5lnaKIlWjPrzY0eQ406hmcxdkP1qNrdsbxulnIc+0nOnYdAyF nO33I8XYGiC4bkw= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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-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 Date: Wed, 3 Apr 2019 18:31:47 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: cygpath -u converts quoted UNC paths to local Message-ID: <20190403163147.GG3337@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <209675900 DOT 20190403192000 AT yandex DOT 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) --6AmSH+YAqnsWd9jO Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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" -----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--