Persistent Authorization Prompts Despite Configured Settings File

Resolved 💬 2 comments Opened Jul 5, 2025 by bpruss Closed Jul 7, 2025

settings.json

Bug Description
I have a rather complete ~/.claude/settins.json which allows most read only commands such as grep, and yet claude is still asking me to authorize these commands. I ask it why and it acknoledges that it should not be asking, then it asks again.

Environment Info

  • Platform: darwin
  • Terminal: vscode
  • Version: 1.0.43
  • Feedback ID: 7002b60d-2aa1-45b6-8994-3667873e879b

Errors

[{"error":"RangeError: path should be a `path.relative()`d string, but got \"../../modules/tailscale\"\n    at GA9 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:156:3373)\n    at TN (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:156:3550)\n    at TxA._test (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:156:4086)\n    at TxA.ignores (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:156:4588)\n    at CM2 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1436:240)\n    at AU6 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1434:574)\n    at Object.call (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1434:148)\n    at call.next (<anonymous>)\n    at hq6 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1933:11470)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-07-05T16:08:17.174Z"},{"error":"RangeError: path should be a `path.relative()`d string, but got \"../../modules/tailscale/main.tf\"\n    at GA9 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:156:3373)\n    at TN (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:156:3550)\n    at TxA._test (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:156:4086)\n    at TxA.ignores (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:156:4588)\n    at CM2 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1436:240)\n    at AU6 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1434:847)\n    at Object.call (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1434:148)\n    at call.next (<anonymous>)\n    at hq6 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1933:11470)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-07-05T16:08:17.174Z"},{"error":"RangeError: path should be a `path.relative()`d string, but got \"../../modules/tailscale/outputs.tf\"\n    at GA9 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:156:3373)\n    at TN (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:156:3550)\n    at TxA._test (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:156:4086)\n    at TxA.ignores (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:156:4588)\n    at CM2 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1436:240)\n    at AU6 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1434:847)\n    at Object.call (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1434:148)\n    at call.next (<anonymous>)\n    at hq6 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1933:11470)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-07-05T16:08:17.174Z"},{"error":"RangeError: path should be a `path.relative()`d string, but got \"../../modules/tailscale/variables.tf\"\n    at GA9 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:156:3373)\n    at TN (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:156:3550)\n    at TxA._test (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:156:4086)\n    at TxA.ignores (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:156:4588)\n    at CM2 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1436:240)\n    at AU6 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1434:847)\n    at Object.call (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1434:148)\n    at call.next (<anonymous>)\n    at hq6 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1933:11470)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-07-05T16:08:17.175Z"},{"error":"RangeError: path should be a `path.relative()`d string, but got \"../../modules/terraform-runner\"\n    at GA9 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:156:3373)\n    at TN (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:156:3550)\n    at TxA._test (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claud

Note: Error logs were truncated.

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗