Claude Code errors / Other

zsh:1: permission denied: /var/folders/.../T/claude-XXXX-cwd

platform: Claude Code / category: Other

Cause

Claude Code writes a temporary CWD-tracking file to the system temp directory; after a macOS major upgrade the permissions change and block writes from user processes.

Fix

Bash commands still execute correctly - this is cosmetic. There is no user-side fix as the temp path is internal. Check for a newer Claude Code release that resolves it and follow the linked issue for a patch.

Source thread →

Part of the Automation Error Index — Claude Code errors: browse all.

Hitting an automation error we have not covered?

AutomateLab builds and debugs n8n, Make, and agent workflows as fixed-scope projects. If something is broken in production, tell us what you are seeing.

Describe the problem