Refuse a manifest entry whose mode is above 0777 on load (closes #225) #230

Merged
clawbot merged 1 commits from issue-225-refuse-mode-above-0777 into next 2026-10-15 22:02:55 +02:00
1 Commits
Author SHA1 Message Date
sneak c961415e53 Refuse a manifest entry whose mode is above 0777 on load (closes #225)
check / check (push) Waiting to run
Loading accepted an entry recording a mode above 0777, such as 04755.
check then reported a file with exactly the recorded permission bits
as a mode mismatch, list and export printed the out-of-range mode, and
freshen silently rewrote it as the permission bits alone. Loading now
refuses such an entry, naming the path and the mode, so every command
that reads a manifest refuses it with one message. fetch's own check
for this could no longer be reached and is gone; its test moves to the
loading tests in package mfer. docs/FORMAT.md says readers reject a
mode above 0777.

Model: opus-5-5
2026-10-15 19:37:11 +00:00