Claude Code errors / Other
zsh:1: permission denied: /var/folders/.../T/claude-XXXX-cwd
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.
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