[Bug 50771] New: CreateFile(FILE_WRITE_ATTRIBUTES) on readonly file fails

WineHQ Bugzilla wine-bugs at winehq.org
Wed Mar 3 15:59:28 CST 2021


https://bugs.winehq.org/show_bug.cgi?id=50771

            Bug ID: 50771
           Summary: CreateFile(FILE_WRITE_ATTRIBUTES) on readonly file
                    fails
           Product: Wine
           Version: unspecified
          Hardware: x86-64
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: kernel32
          Assignee: wine-bugs at winehq.org
          Reporter: martin at martin.st
      Distribution: ---

Created attachment 69563
  --> https://bugs.winehq.org/attachment.cgi?id=69563
Testcase

When a file is readonly, one should be able to open it with
CreateFile(FILE_WRITE_ATTRIBUTES) in order to change its permissions to
writable via SetFileInformationByHandle(FileBasicInfo), however the CreateFile
call fails.

-- 
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.



More information about the wine-bugs mailing list