From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail1.dyalog.com (mail1.srv.bramley.dyalog.com [81.187.219.132]) by sourceware.org (Postfix) with ESMTPS id 1CDAC385803A for ; Mon, 13 Dec 2021 11:09:19 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 1CDAC385803A Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=dyalog.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=dyalog.com Received: from johndhome (55.227.187.81.in-addr.arpa [81.187.227.55]) by mail1.dyalog.com (Postfix) with ESMTPSA id 30C16F638FD; Mon, 13 Dec 2021 11:09:18 +0000 (UTC) From: "john daintree" To: "'Takashi Yano'" , References: <015801d7f00f$b117ed70$1347c850$@dyalog.com> <20211213200623.606ba51691c1209a2f2c2a75@nifty.ne.jp> In-Reply-To: <20211213200623.606ba51691c1209a2f2c2a75@nifty.ne.jp> Subject: RE: Starting CMD from a bash shell with current directory on a mounted/network drive results in an incorrect current directory Date: Mon, 13 Dec 2021 11:09:17 -0000 Message-ID: <018701d7f011$df5c08e0$9e141aa0$@dyalog.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 16.0 Content-Language: en-gb thread-index: AQHuzua2UMyMbJKychJ9n4KcGyhtjwEIjp+Eq/pBTkA= X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, 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@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Dec 2021 11:09:20 -0000 Excellent news, thank you. I apologise if I should have seen that somewhere. /John -----Original Message----- From: Cygwin On Behalf Of Takashi Yano Sent: 13 December 2021 11:06 To: cygwin@cygwin.com Subject: Re: Starting CMD from a bash shell with current directory on a mounted/network drive results in an incorrect current directory 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.\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 -- 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