https://bugs.winehq.org/show_bug.cgi?id=50771 Zeb Figura <z.figura12(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|CreateFile(FILE_WRITE_ATTRI |msys2 unlink() fails on |BUTES) on readonly file |read-only files [needs |fails |CreateFile(FILE_WRITE_ATTRI | |BUTES)] CC| |z.figura12(a)gmail.com Component|kernel32 |ntdll --- Comment #4 from Zeb Figura <z.figura12(a)gmail.com> --- Linux has O_PATH, but that's not portable. We may need to do it without actually opening the fd. There's a wine-staging patch for this: <server-File_Permissions/0002-server-Allow-to-open-files-without-any-permission-bi.patch>. Like many old wine-staging patches it lacks documentation; probably this is what it was originally written for. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.