Overview
| Artifact ID: | 9861d422094e7df577d11e416ca3891772d4814dddc3cfb3a5f1f2044c555658 |
|---|---|
| Ticket: | 08203e40e341386c6dc5aac0b8405e506f658656
Windows: [file delete -force] fails on a directory containing a symlink |
| User & Date: | serhiy.storchaka on 2026-10-17 14:27:36 |
Changes
- icomment:
Proposed fix in branch [/timeline?r=win-delete-tree-with-symlinks|win-delete-tree-with-symlinks]: a link to a file is removed like a file, and a link to a directory that is not a junction (<tt>mklink /D</tt>) with <tt>RemoveDirectoryW()</tt>; the targets are not touched. Directory symbolic links inside the tree failed the same way. Tests winFCmd-9.7 and 9.8 (need the right to create symbolic links).
- login: "serhiy.storchaka"
- mimetype: "text/x-fossil-wiki"