You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
chmod apply body ignores dead cwd (node stat classifies, apply still uses string paths) #3448
Follow-up from the #3440 review (PR #3440, Refs #3425): the node-stat anchor classifies correctly, but the chmod apply body still uses string paths, so under a dead cwd the apply itself fails.
Evidence (reviewer v3 decisive probe, probe-dead-cwd3.sh in ~/workspace/review-3440/, GNU coreutils 9.4 oracle):
chmod 600 a/b in a dead cwd: head reports ENOTDIR, base reports ENOENT — the node-stat anchor works.
chmod 600 a in a dead cwd: both head and base report ENOENT and the mode is unchanged — the apply body never reaches the file.
v1/v2 probe constructions were VOID (fixture deleted by the probe itself / touch failing in the deleted cwd); only v3 (rename construction) is decisive.
Scope: same-as-base behaviour, not a regression — #3276 family residual. Destination: 1.5.1, fix in the same wave as the next chmod/stat touch. Refs #3425, Refs #3276.
Activity
caomengxuan666 commentedon Nov 13, 2026
队长修复车道已开工(工作区 fix-3448、分支 fix/3448-chmod-apply-dead-cwd,base master 3745712)。范围:chmod apply 本体 dead-cwd 面(#3440 复核 v3 探针 m2 格),GNU 锚点 coreutils 9.4 src/chmod.c:231。草稿 PR 稍后开。
chmod: apply mode through the CpNode under a dead cwd (Refs #3448) (#…
caomengxuan666 commentedon Nov 15, 2026
【WIN-AGENT-ISSUE-CLOSE】由 #3486 修复落地(squash 5dcd1e6)关闭;审计/返工判词见该 PR 评论。