{"version":"2.1.329","anchor":"bash-read-only-check-rejects-test-with-certain-args","canonical_anchor":"bash-read-only-check-rejects-test-with-certain-args","heading":"Some test , [ and [[ shell commands now ask for permission","tier":"notice","area":"Permissions","scope":"individual","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.329\/e\/bash-read-only-check-rejects-test-with-certain-args","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.329","markdown":"### Some `test`, `[` and `[[` shell commands now ask for permission\n\nSome `test`, `[` and `[[` shell commands are no longer treated as read-only and can now prompt for permission\n\n**Unclear.** Which arguments make these commands lose their read-only status is not clear.\n\n**What**\n\nClaude Code lets some shell commands run without asking because they only read things and change nothing. The `test`, `[` and `[[` commands check conditions in a shell. There is now an extra check on these three: with certain arguments, Claude Code stops treating them as read-only and asks your permission before running them.\n\n**Why**\n\nYou may see permission prompts for these commands where you did not before.\n\n- Area: Permissions\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: yes"}