claude-code - 💡(How to fix) Fix [Bug] macOS Sequoia: Privacy permission entries duplicated on each update with version number as app name [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#51800Fetched 2026-04-22 07:52:29
View on GitHub
Comments
1
Participants
2
Timeline
4
Reactions
0
Timeline (top)
labeled ×3commented ×1

Error Message

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/tsukada/.local/share/claude/versions/2.1.117 (expected in multi-process scenarios)\n at fn_ (/$bunfs/root/src/entrypoints/cli.js:2754:2177)\n at H98 (/$bunfs/root/src/entrypoints/cli.js:2754:1257)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-22T01:41:24.439Z"}]

Code Example

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/tsukada/.local/share/claude/versions/2.1.117 (expected in multi-process scenarios)\n    at fn_ (/$bunfs/root/src/entrypoints/cli.js:2754:2177)\n    at H98 (/$bunfs/root/src/entrypoints/cli.js:2754:1257)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-22T01:41:24.439Z"}]
RAW_BUFFERClick to expand / collapse

Bug Description macOS Sequoia 15.x にて、Claude Code をアップデートするたびに macOS のプライバシー設定 (ファイルとフォルダ / ローカルネットワーク) に 新しいエントリが作成されてしまう問題があります。

【症状】

  • 許可ダイアログに表示されるアプリ名がバージョン番号になっている 例:「"2.1.117" から "ダウンロード" フォルダ内のファイルに アクセスしようとしています」
  • システム設定 > プライバシーとセキュリティ > ファイルとフォルダ に、 "2.1" という名前のエントリがバージョン数だけ重複して並んでいる
  • バージョン更新のたびに許可プロンプトが再度表示される

【環境】

  • macOS Sequoia 15.x
  • Claude Code v2.1.117
  • ターミナル: Warp

【期待する挙動】

  • アプリ名として "Claude Code" が表示される
  • バージョン間で権限が引き継がれ、更新のたびに再許可を求められない

Environment Info

  • Platform: darwin
  • Terminal: WarpTerminal
  • Version: 2.1.117
  • Feedback ID: 23849dfa-2fee-4233-9038-7b9692c98e05

Errors

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/tsukada/.local/share/claude/versions/2.1.117 (expected in multi-process scenarios)\n    at fn_ (/$bunfs/root/src/entrypoints/cli.js:2754:2177)\n    at H98 (/$bunfs/root/src/entrypoints/cli.js:2754:1257)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-22T01:41:24.439Z"}]

extent analysis

TL;DR

The issue can be mitigated by ensuring the application name is correctly set to "Claude Code" instead of the version number, potentially through configuration or code changes.

Guidance

  • Investigate how the application name is being set in the code, specifically looking for any instances where the version number might be used instead of the application name "Claude Code".
  • Review the cli.js file, particularly around line 2754, to understand how the lock acquisition failure might be related to the permission issues and version naming.
  • Consider implementing a mechanism to handle version updates in a way that preserves permissions and does not prompt for re-authorization.
  • Check the system settings and privacy configurations to see if there's a way to manually set or correct the application name for "Claude Code" to prevent version-specific entries.

Example

No specific code example can be provided without more context on the application's codebase, but ensuring that the application identifies itself consistently (e.g., as "Claude Code" rather than by version) in all interactions with the system is key.

Notes

The provided error message suggests issues with lock acquisition and potential multi-process scenarios, which might be tangentially related to the main issue of application naming and permissions. However, without more detailed code or system logs, it's challenging to provide a definitive fix.

Recommendation

Apply a workaround by manually correcting the application name in system settings where possible and investigate code changes to ensure the application name is consistently set to "Claude Code" across all versions, to mitigate the issue until a more permanent solution can be found.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix [Bug] macOS Sequoia: Privacy permission entries duplicated on each update with version number as app name [1 comments, 2 participants]