Claude Code Named a Folder '~' — Then an Unquoted rm -rf * Found It
This story is from 2026-10-03. It is preserved in the archive; the latest stories are on the live feed.
A Claude Code user running v2.0.55 on macOS reported a two-part failure: the agent first created a directory literally named ~ for no stated reason, then later ran rm -rf * in that directory's parent — and the shell's own glob expansion carried the delete into the user's real home directory. What t…
Read the full story at DEV Community — AI ↗
Timeline · 1 report
- 2026-10-03 09:53 · DEV Community — AI
Claude Code Named a Folder '~' — Then an Unquoted rm -rf * Found It