Artifacts Associated With Ticket 25a127ccbd1f1e3d
Ticket change [0bea805e2b] (rid 257693) by serhiy.storchaka on 2026-10-12 11:17:09:
- cmimetype initialized to: "text/x-fossil-wiki"
- 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. - foundin initialized to: "9.1.0"
- login: "serhiy.storchaka"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- severity initialized to: "Minor"
- status initialized to: "Open"
- submitter initialized to: "serhiy.storchaka"
- subsystem initialized to: "37. File System"
- title initialized to:
Windows: file rename -force onto a read-only file fails since TIP 744
- type initialized to: "Bug"