Beta

Niektóre rzeczy mogą jeszcze nie działaćIT.Community jest w becie: niektóre rzeczy mogą nie działać tak, jak powinny. Widzisz problem? Napisz do nas, a szybko go naprawimy.

Napisz do nas
Zaloguj się

Newsy

1 post

IT.Community

Claude Code was asked to clean up two folders, and it started deleting drive C: 😬

Judging by a screenshot the developer posted on X, Claude Code was running in --dangerously-skip-permissions mode, meaning commands ran without confirmation.

The agent was removing two leftover Git Worktree folders. The rmdir command it generated was parsed incorrectly by PowerShell, and the path turned into the root of drive C:.

Boris Cherny, who leads Claude Code at Anthropic, replied that this is exactly why the company recommends the auto mode for permissions. According to him, it would almost certainly have stopped this command.

Używamy tylko plików cookies, których strona potrzebuje do działania: żeby utrzymać twoje logowanie i zapamiętać twoje wybory. Bez reklam, bez trackerów. Dowiedz się więcej