Overview
| Artifact ID: | 0c43ed9bbcfc54f1f006ea53903083118bbf79bc39bfc95626290021fb4c0936 |
|---|---|
| Ticket: | 3006571fffffffffffffffffffffffffffffffff
error deleting: file already exists on Vista |
| User & Date: | serhiy.storchaka on 2026-10-23 10:06:30 |
Changes
- foundin changed to: "8.6.18, 9.0.5, 9.1.0"
- icomment:
Reproduced on 8.6, 9.0 and main under Wine, and on Windows 11 on an SMB share, when another process keeps a file in the tree open with <tt>FILE_SHARE_DELETE</tt> (as virus scanners and indexers do): the file is only marked for deletion, so removing its directory fails with <tt>ERROR_DIR_NOT_EMPTY</tt>, reported as "file already exists". Local NTFS on Windows 10 1903+ is not affected. Proposed fix in branch [/timeline?r=win-delete-retry-not-empty|win-delete-retry-not-empty]: retry removing the directory for up to about 1 s, as suggested in the comment above. Also the path in the error message now uses "/" only.
- login: "serhiy.storchaka"
- mimetype: "text/x-fossil-wiki"