Overview
| Artifact ID: | eb8329112df27eba310dfa5f9a6462dec2b3b39b9f53d31c6a309738bb280b5b |
|---|---|
| Ticket: | daba77ae1d24afbd93bf09efd3e0ed3fb4eaaab8
[file delete -force] fails with "file name too long" on trees deeper than PATH_MAX (Unix) |
| User & Date: | serhiy.storchaka on 2026-10-17 13:17:31 |
Changes
- icomment:
Proposed fix in branch [/timeline?r=unix-delete-deep-tree|unix-delete-deep-tree]: the recursive delete works relative to directory descriptors (<tt>openat()</tt>/<tt>unlinkat()</tt>, no <tt>chdir()</tt>), as <tt>rm</tt> does, and does not follow symlinks. Test unixFCmd-bug-daba77ae1d. Copying such a tree ([82049f96f8]) still fails.
- login: "serhiy.storchaka"
- mimetype: "text/x-fossil-wiki"