News for hackers. Stuff that matters.
Re:Launcher wipes entire SSD when uninstalling by geoelectric on Wednesday May 27, 2020 @05:19AM (#23321057)
OMG they reimplemented the infamous Myth 2 bug.

https://en.wikipedia.org/wiki/Myth_II:_Soulblighter#Uninstal...

Re:Launcher wipes entire SSD when uninstalling by tyleo on Wednesday May 27, 2020 @09:02AM (#23322502)
Two other users mentioned that this also happened with Half Life and Phantasy Start.

Makes me wonder if a lot of software has this bug and we only hear about it with the popular products. Also I wonder if something makes games especially prone to this sort of issue.

Re:Launcher wipes entire SSD when uninstalling by geoelectric on Wednesday May 27, 2020 @05:13PM (#23330060)
The Myth one was particularly infamous because it’d wipe your entire C or D drive if you installed to root, and because Bungie (doing the right thing) spent nearly a million because they found it literally a day or two after shipping final copies to stores and did a recall. I don’t think it actually had any significant field impact.

As far as especially prone, custom installers were popular in the 90s (not even sure the windows MSI framework was there yet for the classic examples) and games get installed in weird places.

Weird stuff gets overlooked in testing. Nobody ever tried installing it somewhere than Program Files is a reasonable guess, saying this as an expert in software quality. Totally plausible an entire org would have that blind spot.

...in the 90s. But anyone involved in old school PC gaming knows these examples and should be planning for them in test. This was a noob mistake at a business level, no lie.

Re:Launcher wipes entire SSD when uninstalling by Piskvorrr on Wednesday May 27, 2020 @05:13PM (#23330066)
Software happens to repeat the same bugs all over again. That doesn't imply that it's caused by the same mechanics: more like "who would have thunk that leap years/app installs/usernames are hard?"
Re:Launcher wipes entire SSD when uninstalling by amaccuish on Wednesday May 27, 2020 @05:22AM (#23321071)
I see this as a failure of what a HN described elsewhere of securing the OS against a user and not apps as well. Ideally all apps would be security principals and appear in ACLs. Then say each file created couldn't be deleted by another app unless it was present in the file ACL. I believe APPX packages on Windows now do this, a new user is created for them.
Re:Launcher wipes entire SSD when uninstalling by em-bee on Wednesday May 27, 2020 @10:59AM (#23324373)
this is what linux package managers do. the package itself doesn't handle deleting files at all, because the package manager, which tracks the files created at install time takes care of it.
Re:Launcher wipes entire SSD when uninstalling by AnotherGoodName on Wednesday May 27, 2020 @01:06AM (#23319554)
The original half life release did this too back in the day. It would lead to the entirely of program files being deleted based on a default install.
Re:Launcher wipes entire SSD when uninstalling by polygot on Tuesday May 26, 2020 @09:30PM (#23318483)
> If you have installed Minecraft Dungeons in a custom directory, there is a chance uninstalling Minecraft Dungeons Launcher and/or the game will remove the entire parent directory and everything in it.

It doesn't erase the entire disk when uninstalling (just the parent directory), however, the bug is still extremely troubling.

Re:Launcher wipes entire SSD when uninstalling by lagilogi on Tuesday May 26, 2020 @10:21PM (#23318756)
It would if you installed it right in C: without subfolder. It would definitely was all your games if you installed in your games directory without a subfolder of it's own.
Re:Launcher wipes entire SSD when uninstalling by Kaze404 on Wednesday May 27, 2020 @07:06AM (#23321627)
A similar thing happened with Phantasy Star Online 2 a while ago https://kotaku.com/my-feelings-on-pso2-issues-right-now-at-l...
Re:Launcher wipes entire SSD when uninstalling by dzaragozar on Wednesday May 27, 2020 @09:30AM (#23322858)
Please use the original title: Launcher wipes entire install location when uninstalling
Re:Launcher wipes entire SSD when uninstalling by Reedx on Wednesday May 27, 2020 @10:49AM (#23324192)
The title was "Launcher wipes entire SSD when uninstalling" when this was posted.

They updated it since then: https://bugs.mojang.com/browse/MCL-14107#changehistorydetail...

Re:Launcher wipes entire SSD when uninstalling by londons_explore on Wednesday May 27, 2020 @01:15AM (#23319592)
While annoying, this doesn't delete system restore info, so you can just rollback the system to 5 minutes before the installation and get back all your stuff.
Re:Launcher wipes entire SSD when uninstalling by elitistphoenix on Tuesday May 26, 2020 @10:22PM (#23318762)
They probably should check those wildcards a bit more thoroughly.
Re:Launcher wipes entire SSD when uninstalling by tim-- on Tuesday May 26, 2020 @11:10PM (#23319004)
This is not a wildcard issue. If you installed Minecraft Launcher in "C:\Program Files", it would delete "C:\Program Files". It would not delete the files the installer created.
Re:Launcher wipes entire SSD when uninstalling by pixl97 on Tuesday May 26, 2020 @11:34PM (#23319120)
This kind of issue isnt that uncommon. I accidentally installed a program to my desktop folder one time. And the uninstall just deleted it and all my existing files. Windows didnt like that at all.
Re:Launcher wipes entire SSD when uninstalling by SlackingOff123 on Wednesday May 27, 2020 @05:16AM (#23321043)
> Windows had not seen such bullshit before