Claude Code v2.1.221 ·
Shell output-redirection denials handle non-path targets
Blocked shell redirects to non-file targets no longer show a bogus path or add-directory suggestion.
You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
0Signal: worth watching, 1 to 5
PermissionsArea: what it touches
Bug FixesKind: in v2.1.221,
Bug FixesSection of the release
What
Denials for shell output redirection no longer pretend a non-filesystem target is a path.
Details
- When the redirect target is not a filesystem path, the denial message quotes the raw target rather than a resolved path.
- The prompt no longer offers an "add this directory" suggestion or a blockedPath for such targets.
Evidence
was blocked. For security, Claude Code may only write to files in the allowed working directories for this session:
Strings lifted out of the shipped bundle, so the claim above can be checked against them.
See this entry in the whole of v2.1.221 →