http://bugs.winehq.org/show_bug.cgi?id=50771
Keno Fischer keno@juliahub.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |keno@juliahub.com
--- Comment #11 from Keno Fischer keno@juliahub.com --- I ran into this bug with libuv (I/O library used by e.g. Node.JS and Julia), which also uses it for much the same purpose: https://github.com/libuv/libuv/blob/9424da3e46f485d103a40e0a9b4ba1e8bfea4c9c.... Now, as of last year, it can also use FILE_DISPOSITION_IGNORE_READONLY_ATTRIBUTE (though it still tries to request FILE_WRITE_ATTRIBUTES even in this case, which should be unnecessary). I will try to submit a PR to libuv to remove this to avoid this bug.
However, it does also have another method just to toggle files between read-only and read-write https://github.com/libuv/libuv/blob/9424da3e46f485d103a40e0a9b4ba1e8bfea4c9c..., which uses the same pattern. Is there any guidance for how to avoid this issue in that situation?