delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2019/04/03/12:20:21

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:reply-to:message-id:to:subject
:mime-version:content-type:content-transfer-encoding; q=dns; s=
default; b=L49G3U3zoQpxS9gzxacYCSW4DEQSuBOX/JnosKsNfjqMYuvpvleCM
e4MPxOHKX6Itbb6g7jgG2CCMYsd3xJbK+qRLfL8aiJB0isLy8Erz0oIgQBvHYyoC
uLbGlytAijaU25xAOSWzal+L/ZalOb8jZ0m7FUPmZ7K6a0xoZEsuuw=
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:reply-to:message-id:to:subject
:mime-version:content-type:content-transfer-encoding; s=default;
bh=j/5Lc+4My6fihFKENHlpWkW/0Pg=; b=tzn44ie3rcs1QdoE44/9ypHwsAYB
0l6dNzvPhPf0rOYg8r+uv5kT0/07kQkOKzKk3iOHl5blRhwq52drtx9VI34xWzhc
B3mXhSW6fiayXKe6DWmzsCibHmLk0lQCtUSN2oJd2yX5EOw61z5k5y5oCEFwbWpu
ipiLA5iNjyD0Sdg=
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-Spam-SWARE-Status: No, score=1.2 required=5.0 tests=BAYES_20,FREEMAIL_FROM,KAM_THEBAT,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.1 spammy=HX-Priority:Normal, H*MI:yandex, H*M:yandex, essence
X-HELO: forward100o.mail.yandex.net
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1554308402; bh=QqZwpXuG+GE4jlq5D2GeRcWTSyJC6HgSxtJPrUGYPbU=; h=Subject:To:Reply-To:From:Message-ID:Date; b=DHU7YNdYGE2+YdkHyWhRHxMKF6nNu7pH+hTMDz3MSP3iWj8aZkYxtTgh4dFh0vlsr FQEBaBJDI3Thzl+J/4hCacJsoBJPE3YW0X3UXDLP4+1aqvvlrWptY2HJiUMDptM6FU d6nsmO1zarmI2LEv7r1KH4KFrzEk0WspG8EONVDg=
Authentication-Results: mxback20o.mail.yandex.net; dkim=pass header.i=@yandex.ru
Date: Wed, 3 Apr 2019 19:20:00 +0300
From: Andrey Repin <anrdaemon AT yandex DOT ru>
Reply-To: cygwin AT cygwin DOT com
Message-ID: <209675900.20190403192000@yandex.ru>
To: All <cygwin AT cygwin DOT com>
Subject: cygpath -u converts quoted UNC paths to local
MIME-Version: 1.0
X-IsSubscribed: yes

Greetings, All!

This can be considered "working by design", but it really imposes some serious
restrictions on interoperability with Cygwin, that I think can be avoided.

...

After some further testing, this seems to be affecting IP-based UNC paths
only.

The essence is this:

$ dir "\\192.168.1.5\wwwroot\ccenter\bin\online.sh"
26.10.2018  18:16               431 online.sh

$ cygpath -u \\192.168.1.5\wwwroot\ccenter\bin\online.sh
//192.168.1.5/wwwroot/ccenter/bin/online.sh

$ cygpath -u "\\192.168.1.5\wwwroot\ccenter\bin\online.sh"
/192.168.1.5/wwwroot/ccenter/bin/online.sh

$ cygpath -u \\HOSTING64.DARKDRAGON.LAN\wwwroot\ccenter\bin\online.sh
//HOSTING64.DARKDRAGON.LAN/wwwroot/ccenter/bin/online.sh

$ cygpath -u "\\HOSTING64.DARKDRAGON.LAN\wwwroot\ccenter\bin\online.sh"
//HOSTING64.DARKDRAGON.LAN/wwwroot/ccenter/bin/online.sh

$


-- 
With best regards,
Andrey Repin
Wednesday, April 3, 2019 19:11:14

Sorry for my terrible english...


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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