Hi all, A bash in a local mounted drive, use realpath instead of mounted one for all child processes.
Example, mount a local folder on Z: drive, go in there and run any external command: $ subst Z: C:\\Users $ cd /cygdrive/z/ $ /bin/pwd /cygdrive/c/Users Expected /cygdrive/w Issue since Cygwin 3.3 and also with latest snapshot (2022-02-17 11:55:32) after reading this: https://cygwin.com/pipermail/cygwin/2021-December/250153.html https://cygwin.com/pipermail/cygwin-patches/2021q4/011583.html Sincerely, -- Claude TETE "Those who dream by day are cognizant of many things which escape those who dream only by night." Edgar Allan Poe. -- 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