Skip to content
Tcl Source Code History Of Ticket 25a127ccbd
Login

History Of Ticket 25a127ccbd

Artifacts Associated With Ticket 25a127ccbd

  1. Ticket change [0bea805e2b] (rid 257693) by serhiy.storchaka on 2026-10-12 11:17:09:

    1. cmimetype initialized to: "text/x-fossil-wiki"
    2. comment initialized to:
      On Windows, <code>file rename -force</code> onto an existing read-only file fails
      in 9.1 with "permission denied", and the source is not moved. All 8.6 releases
      replace the file, as on Unix.
      <verbatim>
      foreach f {src dst} {close [open $f w]}
      file attributes dst -readonly 1
      file rename -force src dst
      </verbatim>
      TIP 744 ([5e98a389b8]) replaced the rename of the target to a temporary name in
      <code>DoRenameFile()</code> by <code>MoveFileExW(MOVEFILE_REPLACE_EXISTING)</code>,
      which fails for a read-only target. Test fCmd-9.7 covers this, but it was skipped
      everywhere because of the undefined <code>notWine</code> constraint.
      
    3. foundin initialized to: "9.1.0"
    4. login: "serhiy.storchaka"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. severity initialized to: "Minor"
    8. status initialized to: "Open"
    9. submitter initialized to: "serhiy.storchaka"
    10. subsystem initialized to: "37. File System"
    11. title initialized to:
      Windows: file rename -force onto a read-only file fails since TIP 744
      
    12. type initialized to: "Bug"