https://bugs.winehq.org/show_bug.cgi?id=47160
--- Comment #24 from Erich E. Hoover erich.e.hoover@gmail.com --- Ok, this is rather complicated - but can be simplified down to two cases: 1) some functions return the characteristics of the target (GetFileSize) 2) some functions return the characteristics of the link (GetFileAttributesEx)
In my attempt to fix case #2, I inadvertently broke case #1 because I did not realize that GetFileSize was a situation of case #1.
So, if you would not mind - please revert ntdll-Junction_Points/0015-ntdll-Correctly-report-fd-based-file-info-for-symlin.patch and see if this fixes your problem. If it does then I'll get together an updated version of the patches with more tests for this edge case.