3 ms·
There have been a couple of incidents of self-destructing installers, yes. "rm -rf /${VARIABLE}" where the variable isn't set, that kind of thing.
by pjc50 7y ago
There have been a couple of incidents of self-destructing installers, yes. "rm -rf /${VARIABLE}" where the variable isn't set, that kind of thing.
- zouhair 7y agoI am against the death penalty, but I'll make an exception for anyone who write that code.
- skohan 7y agoWasn't it something similar with a chrome auto-update which bricked a bunch of $10k+ mac pro workstations in hollywood?
- CodesInChaos 7y agoThat one doesn't work on systems which disallow deleting `/` unless you pass `--no-preserve-root`. But `rm -rf `${VARIABLE}/*` still does, and that's what steam did.
- klysm 7y agoSeems like --no-preserve-root is poorly implemented if that is allowed.