claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

[BUG] Global settings seem to be getting ignored when doing simple commands like running ls in bash

Open tylerwongj opened this issue 8 months ago • 2 comments

Environment

  • Platform (select one):
    • [ ] Anthropic API
    • [ ] AWS Bedrock
    • [ ] Google Vertex AI
    • [ ] Other:
  • Claude CLI version: <!-- output of claude --version --> 1.0.17
  • Operating System: macOS
  • Terminal: iTerm2 through vs code

Bug Description

Steps to Reproduce

  1. create settings.json in ~/.claude/settings.json
  2. try running a claude terminal (using vs code for me) and running ls

Expected Behavior

it shouldnt ask for permissions

Actual Behavior

it asks for permissions, and also acknowledges that it has a bug

Additional Context

tylerwongj avatar Jun 09 '25 03:06 tylerwongj

Permissions don't seem to work and seem inconsistent, both globally and locally. :\

tylerwongj avatar Jun 09 '25 05:06 tylerwongj

Seems there's some caching part that's getting in the way. I guess I have to restart the claude instance if I add a certain permission. I'm betting this issue might be resolved with this other ticket that is open - https://github.com/anthropics/claude-code/issues/1274.

Seems the settings files aren't handling things right unfortunately.

tylerwongj avatar Jun 09 '25 05:06 tylerwongj

This issue has been inactive for 30 days. If the issue is still occurring, please comment to let us know. Otherwise, this issue will be automatically closed in 30 days for housekeeping purposes.

github-actions[bot] avatar Dec 04 '25 10:12 github-actions[bot]

This issue has been automatically closed due to 60 days of inactivity. If you're still experiencing this issue, please open a new issue with updated information.

github-actions[bot] avatar Jan 06 '26 10:01 github-actions[bot]

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.

github-actions[bot] avatar Jan 15 '26 14:01 github-actions[bot]