On Tue, Apr 27, 2021 at 8:44 AM Orgad Shaneh <org...@gmail.com> wrote: > > On Apr 19 12:58, Corinna Vinschen via Cygwin wrote: > > On Apr 18 10:59, Orgad Shaneh via Cygwin wrote: > > > I was going to write: > > > > Nothing we can do about without re-implementing Cygwin's path handling > > from scratch. For historical reasons, POSIX paths are evaluated in a > > non-POSIXy manner from right to left. If the resulting path is an > > existing path, the assumption is that no inner path component is a > > symlink. That's true as long as Windows didn't support > > symlinks/junctions and Cygwin didn't support them. > > > > But now I'm writing this: > > > > Probably I have a workaround for this problem. I added a certain test > > to the function checking the outer path component, so the checks for > > path validity don't stop at the outer path component, just because > > it's a valid Windows path. > > > > I pushed the patch and uploaded new developer snapshots to > > https://cygwin.com/snapshots/ > > > > Please give them a try. > > Tried now, and it works for me. Thanks a lot! > > - Orgad
Hi Corinna, This change breaks access to subst drives. Reported on MSYS2: https://github.com/msys2/msys2-runtime/pull/38#issuecomment-832160980 Can you please have a look? Please CC me when you reply. I'm not on the mailing list. Thank you, - Orgad -- 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