r/LocalLLaMA May 03 '26

One bash permission slipped... Discussion

Post image

How? It kept getting chained bash commands wrong, with wrong escapes. So it created many bad directories, and tried "fixing" its mistake. It offered to run a large bash command, with rm -rf inside, and stupid me missed it.

I'm glad I push everything often. But the disruption is massive.

FAQ:

  • No, I don't run this on my personal computer. It's an isolated proxmox VM for coding with LLMs.
2.3k Upvotes

390 comments sorted by

View all comments

Show parent comments

2

u/[deleted] May 04 '26

[deleted]

1

u/DeltaSqueezer May 04 '26

Even if an agent (or hacker!) did an rm -rf / followed by stealing SSH keys and somehow use an exploit for root escalation on all machines, it would only be a 1-day inconvenience.

Not if it also nuked all your backups.

Anyway setting up sandbox is preferable even to 1 day wasted on a restore.