[BUG] Claude Code Desktop: EINTR error when opening session in Desktop folder (macOS)

Open 💬 0 comments Opened Jul 15, 2026 by KT-Kuan

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?

Environment

  • macOS 14.x (Sequoia)
  • Claude Code Desktop (latest version, fresh install)
  • Project located in ~/Desktop/...

Steps to reproduce

  1. Open Claude Code Desktop
  2. Start a new session with a project folder located inside ~/Desktop/
  3. Claude Code attempts to access the folder

Expected behavior
Session starts normally and reads the project folder.

Actual behavior
Session fails immediately with:

macOS blocked Claude Code from reading this folder. This is often temporary. Try again. If it keeps happening, grant access in System Settings or start a session in a folder outside Desktop. Claude Code process exited with code 1 error: An internal error occurred (EINTR)

What I've tried

  • Desktop folder access is enabled in System Settings → Privacy & Security → Files and Folders (toggle is ON)
  • Reset TCC permissions via tccutil reset SystemPolicyDesktopFolder com.anthropic.claudefordesktop
  • Full uninstall and reinstall of Claude Code Desktop
  • Issue persists after all of the above

Root cause hypothesis
Claude Code subprocess receives EINTR (interrupted system call) when macOS intercepts the file access for TCC permission checking, and does not retry
the syscall — causing immediate exit with code 1.

What Should Happen?

I should be able to let claude read my folder and discuss what I can do.

Error Messages/Logs

macOS blocked Claude Code from reading this folder. This is often temporary. Try again. If it keeps happening, grant access in System Settings or start a session in a folder outside Desktop.

Steps to Reproduce

Steps to reproduce

  1. Open Claude Code Desktop
  2. Start a new session with a project folder located inside ~/Desktop/
  3. Claude Code attempts to access the folder

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

2.1.193

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Other

Additional Information

_No response_

View original on GitHub ↗