Get all your news in one place.
100's of premium titles.
One app.
Start reading
Tom’s Hardware
Tom’s Hardware
Technology
Jowi Morales

Claude Opus 5 mistakenly deletes dev’s entire profile directory during routine backup, responds with 'Sorry, typo' — AI tool mistakes user's home directory as temporary backup, proceeds to wipe everything to undo the error

Mistake written on a notebook with an eraser marked delete beside it.

A developer posted on the r/ClaudeCode subreddit a major error that their AI tool executed, which resulted in the deletion of their entire drive. According to u/Ecstatic-Big5126, they instructed Opus 5 to back up their system. While the AI proceeded with the task, it thought that it had created the backup in the wrong directory and then proceeded to run an “rm -rf” command on the supposed backup. Unfortunately, it mistakenly deleted the entire profile folder in its confusion.

It seemed that the AI was running on a Unix-style shell on Windows when it confused the Unix-style path of /c/Users/ as a temporary backup because it was expecting the traditional C:\Users\ path. So, when its expectations did not match, the tool decided to run the rm -rf “/c/Users/harih/” command, proceeding to clear every file and folder in the user’s profile.

Sign up to read this article
Read news from 100's of titles, curated specifically for you.
Already a member? Sign in here
Related Stories
Top stories on inkl right now
One subscription that gives you access to news from hundreds of sites
Already a member? Sign in here
Our Picks
Fourteen days free
Download the app
One app. One membership.
100+ trusted global sources.