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:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=UFOgj+kqM5kN7bi3 kYfYCSvqx2jELE2D0WPN459Da3nJt32E8cdsM3semiBfNkbTLzwelRKlxi9ZsKRA 3T5NXggkU6pbQ/a19awehCm4gBaipw5/ykN1m0X8aQTy9Q+iCzcAQ/8+GYSh4Dx+ Aud5KdCb05jZ4W5rfUxd1jpLRKU= 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:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=9/O6XxzLUHWScSRDR42NeJ sj6ps=; b=u0PuX2rsF2SGAmyC1NNbUC9vXjOTmUEn47zzGQQ78WJfzrUqFxZIlG UQdYsNWQhgHieN3Hx/O1ayy3jPW+PYP/yBWAyzOFHyJwVeYPuoqicdSe2742M/Aj /urOsRqMpi8EiWYb72TnsfblJfp/vos3EfSTuSz+hmH+HFVIBlDBw= 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.6 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-qk0-f175.google.com X-Received: by 10.55.212.25 with SMTP id l25mr43779620qki.105.1440424521706; Mon, 24 Aug 2015 06:55:21 -0700 (PDT) Subject: Re: 2.2.1: NTFS directory symlinks handling To: cygwin AT cygwin DOT com References: <55D7C3E0 DOT 3020703 AT aosc DOT xyz> From: cyg Simple X-Enigmail-Draft-Status: N1110 Message-ID: <55DB2262.70408@gmail.com> Date: Mon, 24 Aug 2015 09:55:46 -0400 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <55D7C3E0.3020703@aosc.xyz> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-IsSubscribed: yes On 8/21/2015 8:35 PM, Mingye Wang (Arthur2e5) wrote: > It is known that cygwin has a naive interpretation for NTFS symlinks, by > translating those paths directly. This works fine with most cases, but > when you link stuffs under `/` to somewhere like `../cygwin/home`, it > simply breaks. > > I have a directory tree like this: > > |- cygwin/ > |- home/ > |- Arthur/ > |- .gnupg/ (mklink /D .gnupg \Users\Arthur\Appdata\Roaming\gnupg) > |- .ssh/ (mklink /D .ssh \Users\Arthur\.ssh) > |- tmp/ > |- 1.txt > |- cygwin64/ > |- tmp@ (mklink /D tmp ..\cygwin\tmp) > |- home@ (mklink /D home ..\cygwin\home) > > It appears that those `.gnupg` and `.ssh` with an absolute path to the > drive root was interpreted correctly, like > `/cygdrive/c/Users/Arthur/.ssh`, but cygwin64's /tmp and /home breaks, > with the following manner described: > I would suggest to stick to absolute paths. What happens when you "dir ..\cygwin"? I.E.: Is it a valid path to begin with? -- cyg Simple -- 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