Paths Subjects Questions Quizzes Pricing Search
Intermediate Open Pro

Does a Bash Allow Rule Match a Similarly-Named Command

A .claude/settings.json contains:

{
  "permissions": {
    "allow": ["Bash(ls *)"]
  }
}

An engineer wants to confirm this doesn't accidentally auto-approve lsof -i :3000 — an unrelated command that happens to start with the same three letters as ls.

Does Bash(ls *) match lsof -i :3000?

Share this question

← Back to Settings, Permissions & Hooks practice

We use cookies for product analytics to improve OmniAtlas. See our Privacy Policy.