TL;DR:
[icode]rm -rf “$SOME_UNDEFINED_OR_EMPTY_VAR/*”[/icode]
Rookie mistake.
Im not a linux user , although i plan to be in the future.
But, people there are going crazy at the programmers.
Jesus
Had a good laugh in the bus today when I found out about this on twitter. :
user rookie mistake: script has permission to run
Can anyone explain it to non-linux users?
rm = “delete files”
-r = “recursively”
-f = “force without prompting”
rm -rf “” = “remove current working directory, recursively, forcibly, without asking”
Cas
It’s even better, since the bug resolves to
rm -rf ""/*
which means “remove all files on this computer, recursively, forcibly, without asking” :o
kinda gets me angry
same with things like the ariane 5’s bug
how about being a little careful when it’s appropriate ?
deleting files inherently is dangerous, and this person obviously wasn’t a pro at linux. Who wouldn’t double check stuff like that
everybody should choke at least for a second and be like “hold on to your butts” whenever your code can do stuff like delete files automatically upon condition
something more common to amateur game programmers is writing their own engine or whatever and having unlimited FPS, so you got a game with like 700 FPS running, working normally due to delta timing, but your GPU temp goes crazy of course putting stress on the machine
The reason i set up a special user for things like steam, and wine.
Oh and backups. 24/7 backups.
Linux is no panacea of OSes, its just better than the other one i can realistically use on my hardware. And well steam is putting in the effort. I like that.