delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2021/12/13/06:07:17

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 1B3A13857C6C
Authentication-Results: sourceware.org;
dmarc=fail (p=none dis=none) header.from=nifty.ne.jp
Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=nifty.ne.jp
DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-02.nifty.com 1BDB6MDf032531
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.ne.jp;
s=dec2015msa; t=1639393583;
bh=d+9SxBb+7SfmjURPOrKsqLLX8CzS1k0PPqgcD3adp5U=;
h=Date:From:To:Subject:In-Reply-To:References:From;
b=JtFIvM3n5WLl6gU5ZeAw9e8umati+T+e962Drr6lyWFe4qPKSxrRLtsbP9ilut1mW
+BbDkl7AnhTK06FHgS7/xLCg/72fWJ3j1kmlyog5kQaEdthym6t7+W4fNUKDDLS7yk
Lb0OKvWOb+k7zQTE3b55ymCoepNqQ+ySoO4rmlVUVOufKxGYbz6esf8EJYqaRvn6wi
SrSYhE/9/V/jevRCAypsBxeq5fSpiYwTkVG1z3tZPjlTdss0RIQ6YGr5X1BRCm03el
+zOgswOICTkibnGetCQ0qblpf8han638vfnyMBe4wPf/Z5o3QHABsq1VxvL3QhQhBM
oVRSOwaAjvOYQ==
X-Nifty-SrcIP: [124.155.50.141]
Date: Mon, 13 Dec 2021 20:06:23 +0900
From: Takashi Yano <takashi DOT yano AT nifty DOT ne DOT jp>
To: cygwin AT cygwin DOT com
Subject: Re: Starting CMD from a bash shell with current directory on a
mounted/network drive results in an incorrect current directory
Message-Id: <20211213200623.606ba51691c1209a2f2c2a75@nifty.ne.jp>
In-Reply-To: <015801d7f00f$b117ed70$1347c850$@dyalog.com>
References: <015801d7f00f$b117ed70$1347c850$@dyalog.com>
X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32)
Mime-Version: 1.0
X-Spam-Status: No, score=-6.6 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, NICE_REPLY_A, RCVD_IN_DNSWL_NONE,
SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
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>
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>

On Mon, 13 Dec 2021 10:53:41 -0000
"john daintree" wrote:
> I've just upgraded a machine from Windows 10 to Windows 11. Part of my work
> process is now broken because when starting cmd from Cygwin with the current
> directory on a mounted drive I get the following error/warning/issue:
> 
>  
> 
>  
> 
> /cygdrive/j$ cmd
> 
> '\\nas00.<redacted>\devt\users\johnd'
> 
> CMD.EXE was started with the above path as the current directory.
> 
> UNC paths are not supported.  Defaulting to Windows directory.
> 
> Microsoft Windows [Version 10.0.22000.348]
> 
> (c) Microsoft Corporation. All rights reserved.
> 
>  
> 
> C:\Windows>
> 
>  
> 
>  
> 
> The drive J: is mounted as something on our network (I've redacted a bit of
> the path, for probably no good reason)
> 
>  
> 
> Is there a workaround? Or is this something that can be fixed in Cygwin?

Thanks for the report. This was already fixed recently in git head.

https://cygwin.com/pipermail/cygwin/2021-December/250153.html
https://cygwin.com/pipermail/cygwin-patches/2021q4/011583.html

Please wait for the next cygwin release or new developers snapshot.

-- 
Takashi Yano <takashi DOT yano AT nifty DOT ne DOT jp>

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