From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 84021 invoked by alias); 29 Aug 2019 19:20:08 -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 83937 invoked by uid 89); 29 Aug 2019 19:20:08 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-0.7 required=5.0 tests=BAYES_00,FREEMAIL_FROM,KAM_THEBAT,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.1 spammy=H*M:yandex, H*x:Bat!, H*UA:Bat!, H*F:D*ru X-HELO: forward106p.mail.yandex.net Received: from forward106p.mail.yandex.net (HELO forward106p.mail.yandex.net) (77.88.28.109) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 29 Aug 2019 19:20:06 +0000 Received: from mxback2g.mail.yandex.net (mxback2g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:163]) by forward106p.mail.yandex.net (Yandex) with ESMTP id 022A61C80638; Thu, 29 Aug 2019 22:20:03 +0300 (MSK) Received: from smtp2o.mail.yandex.net (smtp2o.mail.yandex.net [2a02:6b8:0:1a2d::26]) by mxback2g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id efBdHSe2lp-K29uXRtO; Thu, 29 Aug 2019 22:20:02 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1567106402; bh=1X+qKRTo1p6kZP5Z/3kyjuWt4Hwl/6YH+5gob8bG0oI=; h=In-Reply-To:Subject:To:Reply-To:From:Message-ID:References:Date; b=Xn8/QZjJcMKngT5P64jq3YLnmHa7CV0EDRyiUNMs8vsgFnuJvyEnwthB3C0vVolyH imYvemW8qZcseBY7DHdYUZmHWBUMO9Hml6B6cq9ZrQJGA6LHa198jKe/P0MoCLu/37 5v7UaJVOWHbVWOPTmX8Pxh+BBaWkDhiUeg8caA+s= Authentication-Results: mxback2g.mail.yandex.net; dkim=pass header.i=@yandex.ru Received: by smtp2o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id VePqQyb4aV-K1vifDRd; Thu, 29 Aug 2019 22:20:01 +0300 (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (Client certificate not present) Received: from [192.168.1.10] (HELO daemon2.darkdragon.lan) by daemon2 (Office Mail Server 0.8.12 build 08053101) with SMTP; Thu, 29 Aug 2019 19:18:52 -0000 Date: Thu, 29 Aug 2019 19:20:00 -0000 From: Andrey Repin Reply-To: cygwin@cygwin.com Message-ID: <46135562.20190829221852@yandex.ru> To: Dan Levi , cygwin@cygwin.com Subject: Re: Physical path resolution does not handle parent junction points In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2019-08/txt/msg00406.txt.bz2 Greetings, Dan Levi! > Open terminal (as admin): > [~] $ mkdir -p A/B > [~] $ ln -s A C > [~] $ cmd /c "mklink /j D A" > Junction created for D <<===>> A > [~] $ (cd C/B ; pwd -P) > /home/me/A/B > [~] $ (cd D/B ; pwd -P) > /home/me/D/B > The last output should be /home/me/A/B, not /home/me/D/B. > realpath displays the same behavior. # ( cd D/B ; pwd -P; realpath .; realpath $(pwd); readlink -e .; readlink -e $(pwd) ) /c/dev/temp/1/D/B /c/dev/temp/1/D/B /c/dev/temp/1/A/B /c/dev/temp/1/D/B /c/dev/temp/1/A/B -- With best regards, Andrey Repin Thursday, August 29, 2019 22:16:35 Sorry for my terrible english... -- 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