This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Physical path resolution does not handle parent junction points


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]