Claude Code errors / Other

EACCES: permission denied, mkdir '/tmp/claude/<path>/tasks'

platform: Claude Code / category: Other / code: EACCES

Cause

Claude Code uses a shared /tmp/claude/ directory owned by the first user who ran it; other users lack write permission to create subdirectories.

Fix

Recreate with world-writable sticky bit: sudo rm -rf /tmp/claude && sudo mkdir -p /tmp/claude && sudo chmod 1777 /tmp/claude. Alternatively set dangerouslyDisableSandbox: true in .claude/settings.json as a temporary workaround.

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