Overview
| Artifact ID: | 616bbebb7ef928986af2003f72ae283ba3ab0f398c492fc9b23e5b08d7c1605b |
|---|---|
| Ticket: | 82049f96f841214bb8cee18e1bf8f84aa25ed9aa
file copy attempts to copy directory into itself |
| User & Date: | serhiy.storchaka on 2026-10-19 18:54:12 |
Changes
- foundin changed to: "8.6.18, 9.0.5, 9.1.0"
- icomment:
Still present in 8.6, 9.0 and 9.1: <nowiki>[file copy 1 1/2]</nowiki> (and <nowiki>[file copy -force d d]</nowiki>) copies until the path is too long, and leaves a tree that <nowiki>[file delete -force]</nowiki> cannot remove ([daba77ae1d]). Proposed fix in branch [/timeline?r=copy-into-itself|copy-into-itself], together with [875545270d]: copying a directory into itself is now an error, "trying to copy a directory into itself". The normalized paths are compared, so links are handled, and so is a different letter case on Windows (checked under Wine). If the target's parent does not exist, the old error is kept. Tests fCmd-21.13 and 21.14.
- login: "serhiy.storchaka"
- mimetype: "text/x-fossil-wiki"