X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; q=dns; s=default; b=SZ6OnpG/EkePyLEbr7hU6wpdHZR7HJN/0dmSaYJ/195 OPAbVkcCWRSyUPdZVWzFxQ5ZmbqGlqWA/b7Ihh9rZxr0CCoTXn5OITIZTkb4f0Sz Ie6zwGTiDPHbi5r3SBV9li18KEz6hVrCVCM/a0wnSD3LPZlqyPE6C2ebEJxgIQ0U = DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; s=default; bh=CARcj0A6/cjBsG+b++1LTQO+/us=; b=f6IsGlLAX6NfM23K7 MoLMI7d+Ics1ElhljKpsBDcnreBgDEWIggf+k0RaXNB5lVCCMzgSk6FRNikzn4/Q nALYRkawpLIPkKHGst3RVxUWB83T/8yELLetTBG4tEJy+DpMOfLseLpq8NULIaUX RV9c/ijcGqUEd2oTcMX3VMa5m0= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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 Message-ID: <548051A3.9030203@tlinx.org> Date: Thu, 04 Dec 2014 04:20:51 -0800 From: Linda Walsh User-Agent: Thunderbird MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: RFC: 1.7.33 problem with user's home directory References: <20141110205216 DOT GJ2782 AT calimero DOT vinschen DOT de> <0B8D23F7-0258-472D-BF38-860402FD3CDC AT etr-usa DOT com> <20141111101821 DOT GO2782 AT calimero DOT vinschen DOT de> <20141111111437 DOT GB28012 AT calimero DOT vinschen DOT de> <20141126205658 DOT GA9157 AT calimero DOT vinschen DOT de> <20141127170042 DOT GE3810 AT calimero DOT vinschen DOT de> <8610043342 DOT 20141128150810 AT yandex DOT ru> <20141128124814 DOT GM3810 AT calimero DOT vinschen DOT de> <5354135 DOT 20141128190818 AT yandex DOT ru> <20141128163305 DOT GN3810 AT calimero DOT vinschen DOT de> <1601998502 DOT 20141129012136 AT yandex DOT ru> <5710377370 DOT 20141202082928 AT yandex DOT ru> <352663012 DOT 20141203231050 AT yandex DOT ru> In-Reply-To: <352663012.20141203231050@yandex.ru> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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