anthropics / anthropics/claude-code

Repeated "access data from other apps" (kTCCServiceSystemPolicyAppData) permission prompts every 2-3 minutes

Aperta
#92,225 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
area:desktop area:packaging duplicate platform:macos
Lingua principale
Python
Stelle
145k
Fork
23.1k
Metriche di merge delle PR
Metriche PR in attesa

Descrizione

**App version:** claude-code 2.1.258 (macOS desktop app)

**Description:**
The desktop app repeatedly triggers the macOS "'claude' would like to access data from other apps" privacy prompt (Automation/App Data permission), roughly every 2-3 minutes, even when the app is idle and not actively being used for a task.

**Diagnosis from system logs (`log show --predicate 'process == "tccd"'`):**
Each recurrence corresponds to a new internal subprocess PID spawned by the app (e.g. parent 14937 → child 14998 in one instance, parent 9695 → child 9733 in another), each triggering a fresh `kTCCServiceSystemPolicyAppData` prompt via sandboxd. TCC does not appear to remember a prior Allow/Don't Allow answer across these subprocess launches — suggesting the code signature/identity isn't stable between spawns, so macOS treats each one as an unverified requester.

**Impact:** Interrupts the user every 2-3 minutes regardless of whether Claude Code is in use.

**Expected:** Permission should be requested once and persist, or the background process triggering repeated `kTCCServiceSystemPolicyAppData` checks shouldn't need to re-request per subprocess launch.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

Start by reproducing the prompt and running `log show --predicate 'process == "tccd"'` while recording the parent and child subprocess PIDs. Compare the spawned processes' code-signing identity and TCC behavior around `kTCCServiceSystemPolicyAppData`. Done means an idle app no longer prompts every 2–3 minutes and an Allow or Don't Allow decision persists across subprocess launches.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
macos, python
Ambito
desktop, operating-systems, security
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Attiva
Chiarezza
Abbastanza chiara
Idoneità per principianti
48/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.