https://bugs.winehq.org/show_bug.cgi?id=50036
--- Comment #14 from Martin Storsjö martin@martin.st --- (In reply to Erich E. Hoover from comment #13)
Martin, the issues you have here should be resolved by wine-staging commit f9e86098b3136869479621e432ea0b066d217add. Would you mind updating and giving it a try?
Hmm, either I'm doing something wrong (I didn't apply all of wine-staging, I just applied ntdll-Junction_Points and its dependencies ntdll-DOS_Attributes and ntdll-NtQueryEaFile), or there's still something missing - the attached test case now outputs this:
CreateFile(FILE_FLAG_OPEN_REPARSE_POINT) = 000000000000003C ReparseTag = a000000c CreateFile(0) = 000000000000003C ReparseTag = a000000c
I.e. the ReparseTag is now present which it wasn't before, but CreateFile without the FILE_FLAG_OPEN_REPARSE_POINT flag should try to open the target of the reparse point and fail, while it still succeeds.