From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from forward500j.mail.yandex.net (forward500j.mail.yandex.net [5.45.198.250]) by sourceware.org (Postfix) with ESMTPS id 995DD385782C for ; Tue, 1 Feb 2022 12:50:03 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 995DD385782C Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=yandex.ru Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=yandex.ru Received: from vla5-396535d496ca.qloud-c.yandex.net (vla5-396535d496ca.qloud-c.yandex.net [IPv6:2a02:6b8:c18:341f:0:640:3965:35d4]) by forward500j.mail.yandex.net (Yandex) with ESMTP id 6B03A6CB6E5D; Tue, 1 Feb 2022 15:50:01 +0300 (MSK) Received: from vla3-3dd1bd6927b2.qloud-c.yandex.net (vla3-3dd1bd6927b2.qloud-c.yandex.net [2a02:6b8:c15:350f:0:640:3dd1:bd69]) by vla5-396535d496ca.qloud-c.yandex.net (mxback/Yandex) with ESMTP id eB99eavC2f-o0dWHv6o; Tue, 01 Feb 2022 15:50:01 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1643719801; bh=LeuJ2q+IGIurhlF+chlnVz2JNl3H6X1ZveLo/ZJCAnk=; h=In-Reply-To:Subject:From:Message-ID:References:Date:Reply-To:To; b=eB8UTLjABa79YtNqq85Qy+9/wNwqC0fNPYPDm2n/8qpnhNAYh5kv+kQzFuQYbCvu1 LdSVsVWTHQljoBkSi+FlmLYjV+NRyKv33TXX+7EnnGbzaWV0xUlzCj/AVxfA7tFhbB YN4vDP1TUiY7yuKSn8ZvA6EuSA14QrZqzzD1RtJ8= Authentication-Results: vla5-396535d496ca.qloud-c.yandex.net; dkim=pass header.i=@yandex.ru Received: by vla3-3dd1bd6927b2.qloud-c.yandex.net (smtp/Yandex) with ESMTPSA id 2zKAmCYOIu-o0IecWv1; Tue, 01 Feb 2022 15:50:00 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) X-Yandex-Fwd: 2 Received: from [192.168.1.10] (HELO daemon2.darkdragon.lan) by daemon2 (Office Mail Server 0.8.12 build 08053101) with SMTP; Tue, 01 Feb 2022 12:47:25 -0000 Date: Tue, 1 Feb 2022 15:47:25 +0300 From: Andrey Repin X-Mailer: The Bat! (v6.8.8) Home Reply-To: cygwin@cygwin.com X-Priority: 3 (Normal) Message-ID: <1157721958.20220201154725@yandex.ru> To: BRISLANE Mark , cygwin@cygwin.com Subject: Re: Cygwin 3.3.4 - cmd to symlinked path doesn't work In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.0 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, KAM_THEBAT, NICE_REPLY_A, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=no 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: Tue, 01 Feb 2022 12:50:05 -0000 Greetings, BRISLANE Mark! > We had this issue in 3.3.3 and is down as being fixed in 3.3.4-2 but > perhaps our scenario is slightly different because it's still happening. > SERVER1 has a folder on D: called folder 1, which is a symlink to > "\\server2\share\folder1" - created with mklink /D folder1 \\server2\share\folder1 > DOMAIN+Administrator@SERVER1 /cygdrive/d > $ ls -l > total 3 > drwxr-x---+ 1 Administrators SERVER1+None 0 Jan 28 11:03 '$RECYCLE.BIN' > d---rwx---+ 1 Administrators SYSTEM 0 Jan 25 23:07 'System Volume Information' > lrwxrwxrwx 1 Administrators DOMAIN+Domain Users 32 Nov 9 10:52 folder1 -> //server2/share/folder1 > DOMAIN+Administrator@SERVER1 /cygdrive/d > $ cd folder1 > DOMAIN+Administrator@SERVER1 /cygdrive/d/folder1 > $ cmd > '\\server2\share\folder1' > 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.14393] > (c) 2016 Microsoft Corporation. All rights reserved. > C:\Windows> > This used to work in older versions of Cygwin. The interesting part is that the behavior is dependent on sequence of events. `mintty bash -i` in a directory: > $ pwd > /cygdrive/d/cygwin > $ cmd > Microsoft Windows [Version 6.1.7601] > Copyright (c) 2009 Microsoft Corporation. All rights reserved. > > D:\cygwin> exit > > $ cd $( pwd ) > $ pwd > /cygdrive/d/cygwin > $ cmd > Microsoft Windows [Version 6.1.7601] > Copyright (c) 2009 Microsoft Corporation. All rights reserved. > > \\DAEMON1.DARKDRAGON.LAN\arc\cygwin> -- With best regards, Andrey Repin Tuesday, February 1, 2022 15:28:28 Sorry for my terrible english...