From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 121171 invoked by alias); 29 Aug 2019 16:51:35 -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 121162 invoked by uid 89); 29 Aug 2019 16:51:35 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=4.1 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.1 spammy=H*r:sk:mail-pl, HX-HELO:sk:mail-pl, H*RU:sk:mail-pl, HX-Spam-Relays-External:sk:mail-pl X-HELO: mail-pl1-f177.google.com Received: from mail-pl1-f177.google.com (HELO mail-pl1-f177.google.com) (209.85.214.177) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 29 Aug 2019 16:51:33 +0000 Received: by mail-pl1-f177.google.com with SMTP id h3so1836775pls.7 for ; Thu, 29 Aug 2019 09:51:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tibco.com; s=tibcogoogle; h=mime-version:from:date:message-id:subject:to; bh=OmGgJcpVvTUu0u0hVJfFTmqytfHhwWHkgz431qgr17U=; b=WVVm//1Cbld3GHbBC/mwcjarXxsK6OdZAlxJnAzgMAf4RC01qg9UEGgwwFVQ6APoIH T9vHOonihtnKh6bCj5OuRiReKy9fL76B994aL/ZGlcqgA2RY1txsLNvGvEez3pJ+QW9L UsDWMmrkPwtepy3M+ynmh+jAtr+Q/VFa0T60I= MIME-Version: 1.0 From: Dan Levi Date: Thu, 29 Aug 2019 19:08:00 -0000 Message-ID: Subject: Physical path resolution does not handle parent junction points To: cygwin@cygwin.com Content-Type: text/plain; charset="UTF-8" X-SW-Source: 2019-08/txt/msg00403.txt.bz2 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. -- 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