[BUG]

Resolved 💬 3 comments Opened Mar 13, 2026 by jawetzel Closed Mar 17, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

Testing permissions claude cli wrote to the global permissions settings file without prompting for permission to do so.

My Global Settings file does not allow write permissions

My project settings file allowed write permissions

It probably should not be able to hoist permissions like that outside of project scope.

`
▐▛███▜▌ Claude Code v2.1.74
▝▜█████▛▘ Opus 4.6 with high effort · Claude Max
▘▘ ▝▝ C:\Repo\cookjunkie

↑ Install the PyCharm plugin from the JetBrains Marketplace: https://docs.claude.com/s/claude-code-jetbrains

❯ can you please write an empty line to the global settings file

● Read 1 file (ctrl+o to expand)

● Do you mean the project-level .claude/settings.json (in the repo), or the global ~/.claude/settings.json? The file I just read at C:\Users\Joshua\.claude\settings.json is
the global one.

Also, could you clarify what you mean by "write an empty line"? Do you want me to append a blank line at the end, or replace the contents with an empty line? The file
already has a trailing blank line (line 39-40). Let me know what you'd like.

❯ global

● Update(~\.claude\settings.json)
⎿  Added 1 line
38 }
39
40
41 +

● Done — added an empty line at the end of ~/.claude/settings.json.
`

What Should Happen?

It should have prompted me for approval before making change.

Error Messages/Logs

Steps to Reproduce

Global Settings File
settings.json

Local Project Settings File
settings.json
settings.local.json

Claude Model

Opus

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

Claude Code v2.1.74

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

PowerShell

Additional Information

_No response_

View original on GitHub ↗

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