[Bug] Bash tool ENOSPC error on stdout/stderr capture despite available disk space (macOS)
Bug Description
Bash tool intermittently fails with bogus ENOSPC on stdout/stderr capture (macOS).
Error: the temp filesystem at /private/tmp/claude-501/<proj>/<session>/tasks is full (0MB free). The child process's stdout/stderr writes failed with ENOSPC.
Reproduces intermittently across many Bash calls in a long session.
Not a real disk issue: df -k/df -i on that exact path show ~38 GB and ~76 M inodes free; mount shows no separate mount (it's on the main APFS data volume); the dir is 240 KB / 41 files. df itself and explicit > $HOME/file redirects succeed; deleting files in tasks/ doesn't help.
Workaround: redirect command output to a $HOME file and read it back.
Env: macOS Darwin 24.6.0, uid 501.
Environment Info
- Platform: darwin
- Terminal: Apple_Terminal
- Version: 2.1.175
- Feedback ID: 2e46626b-ab72-42e7-b5d9-1872f053b6ae
Errors
[]This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗