public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* /usr/bin/realpath cannot handle UNC paths ?
       [not found]   ` <a0f1e420-ae48-49a3-9300-c56f1948ad9b.e52b7f5f-5a09-4346-99f8-a6591191169c.50aab2c7-ebcb-479e-bd07-49d0153a95f2@emailsignatures365.codetwo.com>
@ 2023-09-28 12:24     ` Mainz, Roland
  2023-09-29 20:05       ` Andrey Repin
  0 siblings, 1 reply; 2+ messages in thread
From: Mainz, Roland @ 2023-09-28 12:24 UTC (permalink / raw)
  To: cygwin


Hi!

----

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 ?

----

Bye,
Roland

i. A. Roland Mainz
Entwickler Steuerungssoftware
TEE

ROVEMA GmbH

Industriestr. 1, 35463
Fernwald, Germany
 T  +49 641 409 528
 @ Roland.Mainz@rovema.de
 
www.rovema.com


Rovema
It's about your products.
https://www.rovema-experience.com/


ROVEMA GmbH
Industriestrasse 1, 35463 Fernwald, Germany
Geschäftsführer:
Christoph Gusenleitner
Dr. Dirk Panhans
Handelsregister-Eintrag/Commercial Register: Amtsgericht Gießen, HRB 8551
USt.-Ident./VAT ID No.: DE 301 430 123



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: /usr/bin/realpath cannot handle UNC paths ?
  2023-09-28 12:24     ` /usr/bin/realpath cannot handle UNC paths ? Mainz, Roland
@ 2023-09-29 20:05       ` Andrey Repin
  0 siblings, 0 replies; 2+ messages in thread
From: Andrey Repin @ 2023-09-29 20:05 UTC (permalink / raw)
  To: Mainz, Roland, cygwin

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...


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-11-06 17:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <a0f1e420-ae48-49a3-9300-c56f1948ad9b.8d485f54-9f47-42b0-bdcb-9635fbf663c3.f4d03fc7-7271-4dda-9819-8a6d839d14d6@emailsignatures365.codetwo.com>
     [not found] ` <a0f1e420-ae48-49a3-9300-c56f1948ad9b.93e247b8-206a-49dd-b71c-9240681180cb.f8a0c42a-0aa6-492e-9fa9-cb8871cc779e@emailsignatures365.codetwo.com>
     [not found]   ` <a0f1e420-ae48-49a3-9300-c56f1948ad9b.e52b7f5f-5a09-4346-99f8-a6591191169c.50aab2c7-ebcb-479e-bd07-49d0153a95f2@emailsignatures365.codetwo.com>
2023-09-28 12:24     ` /usr/bin/realpath cannot handle UNC paths ? Mainz, Roland
2023-09-29 20:05       ` Andrey Repin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).