Physical path resolution does not handle parent junction points

Dan Levi
Thu Aug 29 19:08:00 GMT 2019

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)
[~] $ (cd D/B ; pwd -P)

The last output should be /home/me/A/B, not /home/me/D/B.

realpath displays the same behavior.

Problem reports:
Unsubscribe info:

More information about the Cygwin mailing list