install script does rm -rf /usr for ubuntu #123

Closed
ginoputrino opened this Issue May 24, 2011 · 21 comments

Projects

None yet
@ginoputrino

An extra space at line 351:
rm -rf /usr /lib/nvidia-current/xorg/xorg

causes the install.sh script to do an rm -rf on the /usr directory for people installing in ubuntu.

Totally uncool dude!!! The script deletes everything under /usr. I just had to reinstall linux on my pc to recover.

Removing the space will fix this. Probably should do it quickly!!!

@Finalfantasykid

Ya this happened to me. I wasn't sure what went wrong, but chaos ensued shortly after I ran the install script. I have to work tommorow, and require my computer, so this could be a late night reinstalling/recovering my personal files. Oh well, I guess that is what I get for alpha testing ;D

@MrMEEE
Owner
MrMEEE commented May 24, 2011

GIANT BUG... causing /usr to be deleted... so sorry....

@MrMEEE MrMEEE closed this May 24, 2011
@goncalossilva

This made me laugh :)

@MrMEEE
Owner
MrMEEE commented Jun 16, 2011

Yeah... I was very tired that night...

@ginoputrino

Guess it's ok to laugh about it now :-)
Btw props to MrMEEE - this driver has totally saved me from having to do cad
in windows. Legendary piece of work! I don't even mind that it wiped my
machine the first time I tried it :-)
On Jun 16, 2011 10:01 PM, "MrMEEE" <
reply@reply.github.com>
wrote:

Yeah... I was very tired that night...

Reply to this email directly or view it on GitHub:
https://github.com/MrMEEE/bumblebee/issues/123#issuecomment-1381166

@kinopyo
kinopyo commented Jun 17, 2011

poor guy..

@gep
gep commented Jun 17, 2011

nice...

@realyasswl

dude. you are famous now

@ginoputrino

Wow - just read the commit thread on github. Took me longer than it did
to reinstall my machine.
Epic. Had no idea that was going on.

@txdv
txdv commented Jul 16, 2011

It took me longer to load the pictures in that commit than to reinstall my machine.

@diegoviola

DMA-BUF is the real solution to this problem.

@pabloromocl

epic xd

@wdd2007
wdd2007 commented Feb 27, 2014

。。。。。。。。。。。。。。。

@1and1get2

Haha people even reference to this issue lolol

Long it will be remembered

@turshija

Link to a commit for future reference, awesomeness and epic comments since this issue comes up in Google instead:

a047be8#diff-1

@boegel boegel referenced this issue in hpcugent/easybuild May 29, 2015
Closed

Global installation of tools? #123

@ayr-ton
ayr-ton commented Sep 12, 2015 edited

@sximaget

LOL, i am on the process of recovering my own files. Fortunately, it's just a test machine. I'd love to see if some one deployed the script on an working server

@JarJak
JarJak commented Feb 17, 2016

mom i have been here

@tishion
tishion commented Jun 6, 2016

So interesting a bug

@Serkan-devel

Just place the space before usr.

Example:# rm -rf / usr/...

It anyway doesn't come with any warranty so..

@Wampirue
Wampirue commented Feb 8, 2017 edited

Oh boy. This really exists. Thought it was only urban legend...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment