Configure permissions changedpermissions
Nearest release: v2.1.335, published under an hour before upstream edited the page. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Upstream edited this page at 2 Dec 2026 22:53 UTC, give or take a minute or two: the time comes from Anthropic’s own sitemap rather than from a commit. This site recorded the change at 2 Dec 2026 23:07 UTC.
Upstream edited
Recorded here
Lines+2added
Lines−2removed
From line
317
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits104to this page, all time
The whole hunk
from line 317, old and new numbered
/
from line 317
317317
318318#### Redirections
319319
320When a command redirects output or input, Claude Code checks the redirect target against your file rules as if Claude wrote or read that file directly:
320When a command that Claude Code [can analyze](#read-only-commands) redirects output or input, Claude Code checks the redirect target:
321321
322322* **Output redirects**: for `> file`, `>> file`, or `2> file`, the check covers your `Edit` allow and deny rules, [protected paths](https://code.claude.com/docs/en/permission-modes.md#protected-paths), and the [working directories](#working-directories). A rule such as `Bash(git commit *)` allows the command, not the target. A target that starts with `~` or contains a glob character needs your approval.
323323* **Input redirects**: for `< file`, the check covers your `Read` allow and deny rules and the working directories. A target outside the working directories needs your approval unless an allow rule covers it. A target that contains a glob pattern, or a relative path that follows a `cd` in the same command, needs your approval even when an allow rule covers it. Claude Code checks input targets in v2.1.257 and later.
from line 504
504504* **`@`-mentions**: a file or directory you mention in your prompt. A refused file leaves nothing in the conversation, and a [directory's listing](#read-and-edit) leaves out the names a rule covers.
505505* **Pasted images**: an image whose path you paste or drag into the prompt in the terminal
506506* **Changed files**: a file Claude Code re-reads after it changes on disk
507* **IDE context**: the selection and open-file context a connected IDE shares
507* **IDE context**: the selection and open-file context a connected IDE shares with a terminal session
508508
509509With [`permissions.blockReadsOutsideWorkingDirectories`](https://code.claude.com/docs/en/settings-reference#permissions-blockreadsoutsideworkingdirectories) on, or in a [`--restricted`](https://code.claude.com/docs/en/cli-reference#cli-flags) session, these attachments are also left out when they come from a path where that setting or flag refuses Claude's file reads.
510510
No line in this hunk matches that.