Overview
| Artifact ID: | 9bfdd068640b17f2217aedd512cf44e4e677b465940f3f57562193415ef8a90b |
|---|---|
| Ticket: | 219158ffffffffffffffffffffffffffffffffff
Test fCmd-9.4 relies on buggy rename implementation |
| User & Date: | serhiy.storchaka on 2026-10-12 11:18:59 |
Changes
- icomment:
POSIX allows <code>rename()</code> to require write permission for a directory being renamed, and OpenBSD and macOS 10.5 do. Proposed fix in branch [/timeline?r=fCmd-test-constraints|fCmd-test-constraints]: fCmd-9.4 is split into a test for a writable directory, which runs everywhere, and tests for a read-only directory which expect success or "permission denied" depending on the new constraint <code>renameNeedsDirWrite</code> (OpenBSD, macOS 10.5). The branch also restores the definition of <code>notWine</code>, see [300724b80c].
- login: "serhiy.storchaka"
- mimetype: "text/x-fossil-wiki"