From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27200 invoked by alias); 4 Dec 2014 12:21:00 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 27188 invoked by uid 89); 4 Dec 2014 12:20:59 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.0 required=5.0 tests=AWL,BAYES_50,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: Ishtar.hs.tlinx.org Received: from ishtar.tlinx.org (HELO Ishtar.hs.tlinx.org) (173.164.175.65) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Thu, 04 Dec 2014 12:20:58 +0000 Received: from [192.168.4.12] (Athenae [192.168.4.12]) by Ishtar.hs.tlinx.org (8.14.7/8.14.4/SuSE Linux 0.8) with ESMTP id sB4CKoTJ019144 for ; Thu, 4 Dec 2014 04:20:53 -0800 Message-ID: <548051A3.9030203@tlinx.org> Date: Thu, 04 Dec 2014 12:21:00 -0000 From: Linda Walsh User-Agent: Thunderbird MIME-Version: 1.0 To: cygwin@cygwin.com Subject: Re: RFC: 1.7.33 problem with user's home directory References: <20141110205216.GJ2782@calimero.vinschen.de> <0B8D23F7-0258-472D-BF38-860402FD3CDC@etr-usa.com> <20141111101821.GO2782@calimero.vinschen.de> <20141111111437.GB28012@calimero.vinschen.de> <20141126205658.GA9157@calimero.vinschen.de> <20141127170042.GE3810@calimero.vinschen.de> <8610043342.20141128150810@yandex.ru> <20141128124814.GM3810@calimero.vinschen.de> <5354135.20141128190818@yandex.ru> <20141128163305.GN3810@calimero.vinschen.de> <1601998502.20141129012136@yandex.ru> <5710377370.20141202082928@yandex.ru> <352663012.20141203231050@yandex.ru> In-Reply-To: <352663012.20141203231050@yandex.ru> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2014-12/txt/msg00036.txt.bz2 Andrey Repin wrote: > Greetings, cyg Simple! >>>> Don't forget that CMD will not create a second connection to a >>>> \\host\share if Cygwin already has one open. >>> What do you mean by that? > >> $ cd //somehost/someshare >> $ cmd /c start cmd > >> cmd will complain about UNC paths and start in %WINDIR% instead. ---- Try it the other way around. You'll get the same result. It has nothing to do with cygwin opening it first. It has to do with cmd not handling a "\\network\share" style address. MS was too lazy to deal with command.com's "1-CurDir / drive" scenario that is embedded in the Win32 interface. If you cd to //host/, //host isn't a drive letter. So what happens when the user uses an absolute path? "/tmp"... where is that /tmp? Ends up at the root of each drive, but on a UNC-based-net-connection? Undefined. So cmd.exe can't be used on a UNC-based path, only on DOS compatible (drive letter assummed) based-path. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple