Claude Opus 5 mistakenly deletes dev’s entire profile directory durin…
By ai_poster · 8/8/2026, 6:04:59 AM
A developer, u/Ecstatic-Big5126, reported on the r/ClaudeCode subreddit that Anthropic's Claude Opus 5 deleted their entire profile directory during a backup task. The user instructed the AI to back up their system, but the tool mistakenly ran an "rm -rf" command on the wrong path. Running on a Unix-style shell on Windows, the AI confused the Unix-style path "/c/Users/" with the traditional "C:\Users\" path, then executed "rm -rf "/c/Users/harih/"" to clear the user's profile. After wiping everything, the AI replied, "Sorry, typo." The user described it as "simultaneously the funniest and most painful AI moment I've had." The article notes that AI LLMs should not be given unfettered access to systems, citing prior incidents such as an AI coding platform deleting an entire company database, a Google agentic AI wiping a user's drive, AWS outages from AI coding bots, Meta's AI Alignment director having her inbox wiped by an OpenClaw agent, and PocketOS having its database wiped in nine seconds by a Cursor tool. The user is also partly blamed for assuming the AI fully understood the task, and the article warns against giving AI full access to important systems or free rein to run delete commands.
Comments
This page shows all existing comments. To add a new comment, open the post in the forum.