https://bugs.winehq.org/show_bug.cgi?id=48891
--- Comment #21 from Dmitry Timoshkov dmitry@baikal.ru --- (In reply to Damjan Jovanovic from comment #20)
This patch also fixes Cygwin.
Thank you so much Dmitry, I was dreading having to research how Windows's access checks work!
Thanks for the testing. I guess this patch probably needs tests, are you willing to work on adding some?