Cygwin creates <JUNCTIONS> instead of <SYMLINK> on NTFS, but cmd.exe
cannot find the *.exe if they are linked as <JUNCTIONS>.

Two test cases:
$ bash -c $'rm -f id_vers15.exe ; cp /usr/bin/id.exe id_vers15.exe ;
ln -sf id_vers15.exe myid.exe ; cmd /C \'.\\\\\myid.exe\''
$ bash -c $'rm -f id_vers15.exe ; cp /usr/bin/id.exe id_vers15.exe ;
ln -sf id_vers15.exe myid.exe ; powershell -Command
\'.\\\\\myid.exe\''

In both test cases the copied and linked myid.exe cannot be executed.

Is there a way to fix this?

Aurélien
-- 
Aurélien Couderc <aurelien.couderc2...@gmail.com>
Big Data/Data mining expert, chess enthusiast

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

Reply via email to