delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2019/08/29/12:52:26

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:mime-version:from:date:message-id:subject:to
:content-type; q=dns; s=default; b=mBnfwbHYyFz720cmJ/00zVfVyNFic
D9d1toQQOlEGcjSXmclf9Cb2oSvQ9UMwu8UxDKO9j1pNLlQYseJxQIq8YwAlrmJH
92Jo/L/P59R5nQB+kOOVMfTAi5EaH23AXphJbl9wAhIZoEuV+wAtke1STrPLHgB3
kB7ersztsOF3B0=
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:mime-version:from:date:message-id:subject:to
:content-type; s=default; bh=rtKbf/x+NjKTawNRkppp34z9dXc=; b=SSj
n5pou3DerKYa6ULEmmilfwgkMJbgLI8uhJr4x8YlVjJtcYOvrrny60SfjJLmqQKW
59KE1TwQotZ39RinKinkgeksm9wzrvTkIOJOjYd3UW5QMLGcBlUziJsoeE7Q9j7x
dlt5jvwXmblBkT718RG9jMmSpYFLSRvUJ71hCoB4=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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-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
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 <dlevi AT tibco DOT com>
Date: Thu, 29 Aug 2019 12:51:20 -0400
Message-ID: <CA+-+cpHkFnqe5byjyWQauDqrZfXMJeYqSgphLOxc+W5Lm3XUGw@mail.gmail.com>
Subject: Physical path resolution does not handle parent junction points
To: cygwin AT cygwin DOT com

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019