https://bugs.winehq.org/show_bug.cgi?id=48891
--- Comment #20 from Damjan Jovanovic damjan.jov@gmail.com --- (In reply to Dmitry Timoshkov from comment #19)
Created attachment 67128 [details] patch
Attached patch fixes STATUS_ACCESS_DENIED error by granting full access to the object's owner. Incidentally it also fixes a test previously marked as todo_wine.
This patch also fixes Cygwin.
Thank you so much Dmitry, I was dreading having to research how Windows's access checks work!