Uploaded image for project: 'Core ReactOS'
  1. Core ReactOS
  2. CORE-10534

Regression in msi_winetest:install, CopyFile fails to overwrite read-only file

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Fix Version/s: 0.4.0
    • Component/s: RosDlls
    • Labels:
    • Module:
    • Guilty Revision:
      69,880

      Description

      Eric's readonly fix from r69880 is correct, but our CopyFile seems to be broken and now fails to overwrite read-only files.
      https://reactos.org/sites/all/modules/reactos/testman/compare.php?ids=43527,43530

      Looks like we should use FILE_SUPERSEDE rather than FILE_OVERWRITE_IF. Unfortunately CreateFile doesn't allow this flag.

        Attachments

          Activity

            People

            • Assignee:
              ThFabba ThFabba
              Reporter:
              ThFabba ThFabba
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: