This is the record of an abcd-managed repository

abcdBetav0.16.2 · 2026-11-06

Development record

The build loop's worktree step proves each level of the machine-scoped worktree store (~/.abcd, worktrees, <root-sha>) a real directory through fsutil.EnsureRealDirAll but never applies fsutil.CallersAlone, so a pre-existing store level owned by another uid, or writable by group or other (mode 0777), is accepted and the lane's worktree is added into it, where another account could replace the checkout the implementer works in. Each existing level should be held to the caller-alone test the home-scoped declarations and the harness data directory use (iss-2609260057111315), and a level the step creates made 0700.

issueresolvedminoriss-2609261636074260

The build loop's worktree step proves each level of the machine-scoped worktree store (~/.abcd, worktrees, <root-sha>) a real directory through fsutil.EnsureRealDirAll but never applies fsutil.CallersAlone, so a pre-existing store level owned by another uid, or writable by group or other (mode 0777), is accepted and the lane's worktree is added into it, where another account could replace the checkout the implementer works in. Each existing level should be held to the caller-alone test the home-scoped declarations and the harness data directory use (iss-2609260057111315), and a level the step creates made 0700.

Grounds

  • pursued: only a store the caller alone can write holds a lane's checkout; TestTheWorktreeStepRefusesAStoreLevelAnyoneElseCanWrite would fail if a group- or world-writable level were accepted or had anything made inside it

Frontmatter

idiss-2609261636074260
typeissue
lifecycleresolved
severityminor

mentions1