delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2023/11/06/12:31:39

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7D5F53856251
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1699291891;
bh=hcrvaXLRhSniroHmTfZHAB1tDPZD+AO2xpgy53zZoAQ=;
h=Date:To:Subject:In-Reply-To:References:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:
From;
b=mDr4uKeox/J71NbTSOC/fdSgiecH/ubDCGV5PSODEVDnaKY1ZqOldDvzx7VG6HlGO
e91nYIM5mCM+18nJkWzNzqJxD92mUkAS53cnUKULwy7DDe4a6Ap0LPqE5E8E0wX9lc
1tg0XvVYOJcXkbMpIRM0kOVisMadFiUGyOZClnuc=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 5E3DE3857006
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 5E3DE3857006
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1699291837; cv=none;
b=aAE/aqpVJ37+dIMPXP+/h9pArDoLVodsSGSyS6rQhnELvyNqCGM43H49ub815ynHK4157pSOFJ3ufV0xOMNz3WpRJ0kXyFIdsKgMiXaGmvzeWAeoD4X79qF3r4iZCodnfQ9bHcNij+7QJZmAx7//Jt1qY8VX31jWk30gwjuxEtM=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1699291837; c=relaxed/simple;
bh=uye5FzZwd4s+MI+tDkirohswrzknhRwGHgSlwPVR0+U=;
h=DKIM-Signature:Date:From:Message-ID:To:Subject:MIME-Version;
b=WmIRxrcAcSVTzYD44NFa29VBjJo+tSt4HmmLAwMeuwyZNKIkAbfm2/nPQkbtEg6rDS9p1G9pUo3xBS4+nGjQFRaNTnzFQ61pXSaPsi4HaZcimU1zz8t+ktESDL+6DKSqEAzRqDC3DdaLXdQcfmRSY0TRMhblalo8b3TmWYOWNnk=
ARC-Authentication-Results: i=1; server2.sourceware.org
X-Yandex-Fwd: 1
Date: Fri, 29 Sep 2023 23:05:15 +0300
X-Mailer: The Bat! (v9.3.4) Professional
Message-ID: <227912446.20230929230515@yandex.ru>
To: "Mainz, Roland" <Roland DOT Mainz AT rovema DOT de>, cygwin AT cygwin DOT com
Subject: Re: /usr/bin/realpath cannot handle UNC paths ?
In-Reply-To: <AM5PR0502MB3075FC8E067A62375F69E06292C1A@AM5PR0502MB3075.eurprd05.prod.outlook.com>
References: <a0f1e420-ae48-49a3-9300-c56f1948ad9b DOT 8d485f54-9f47-42b0-bdcb-9635fbf663c3 DOT f4d03fc7-7271-4dda-9819-8a6d839d14d6 AT emailsignatures365 DOT codetwo DOT com>
<a0f1e420-ae48-49a3-9300-c56f1948ad9b DOT 93e247b8-206a-49dd-b71c-9240681180cb DOT f8a0c42a-0aa6-492e-9fa9-cb8871cc779e AT emailsignatures365 DOT codetwo DOT com>
<a0f1e420-ae48-49a3-9300-c56f1948ad9b DOT e52b7f5f-5a09-4346-99f8-a6591191169c DOT 50aab2c7-ebcb-479e-bd07-49d0153a95f2 AT emailsignatures365 DOT codetwo DOT com>
<AM5PR0502MB3075FC8E067A62375F69E06292C1A AT AM5PR0502MB3075 DOT eurprd05 DOT prod DOT outlook DOT com>
MIME-Version: 1.0
X-Spam-Status: No, score=-0.4 required=5.0 tests=BAYES_00, DATE_IN_PAST_96_XX,
DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM,
KAM_THEBAT, NICE_REPLY_A, RCVD_IN_DNSWL_LOW, SPF_HELO_NONE, SPF_PASS, TXREP,
T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Andrey Repin via Cygwin <cygwin AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
Cc: Andrey Repin <anrdaemon AT yandex DOT ru>
Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

Greetings, Mainz, Roland!

> ----

> We're trying to use UNC paths (e.g. //server/home/xyz/), but some of our
> scripts fail when /usr/bin/realpath is used.

> Example:
> ---- snip ----
> $ uname -a
> CYGWIN_NT-10.0-19045 WINGRENDEL01 3.4.9-1.x86_64 2023-09-06 11:19 UTC x86_64 Cygwin

> $ realpath "$PWD"
> realpath:
> //crawlinghorror_ipv6/home/rmainz/tmp/projekt_kraken/try11_rde/RDE-Development/build_windows10_msnfs_ipv6: No such file or directory
> ---- snip ----

> Bug or feature ?

> ----

$  pwd
//DAEMON-EC.DARKDRAGON.LAN/D

$  echo "$PWD"
//DAEMON-EC.DARKDRAGON.LAN/D

$  which realpath
/bin/realpath

$  /bin/realpath "$PWD"
//DAEMON-EC.DARKDRAGON.LAN/D


-- 
With best regards,
Andrey Repin
Friday, September 29, 2023 23:04:17

Sorry for my terrible english...


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

- Raw text -


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