Follow-up from “Dumbest Thing you have done distro-hopping?”.

Here’s mine - the laptop from which I’m typing right now has a broken touchpad that keeps jumping and clicking randomly, and does not work. Well, I can’t afford to fix it, but at the moment, I was so pissed off I punched the touchpad really hard, and the machine panicked with all the lights blinking. A few more revival abuses, and the machine was back to life, but since I was running a nixos-rebuild switch --upgrade in the background, I blew off my boot partition. I think I just broke the unbreakable distro.

  • atzanteol@sh.itjust.works
    link
    fedilink
    arrow-up
    33
    ·
    1 year ago

    chown -R root /

    I forget why. I think I was getting some permission issues and thought “I’ll just set all files back to being owned by root and then fix home directories”.

    Turns out a lot of things in /etc aren’t owned by root for a reason…

    • andrefsp@lemmy.world
      link
      fedilink
      arrow-up
      14
      ·
      1 year ago

      This… OMG!

      All started with a docker run -v ... on sub folder on my home directory. The command changed the ownership of some files to root…

      In order to get my permissions back I sudo and tried to run chown -R andrefsp:andrefsp ./* on the folder.

      Thing is… My stupid ass didn’t actually typed ./* but /* instead followed by an angry Enter… It was so fast… So quick… The whole thing was fucked beyond recognition…

      • lud@lemm.ee
        link
        fedilink
        arrow-up
        6
        ·
        1 year ago

        Wouldn’t it be nice if Linux always prompted for confirmation (with red text or something) if you were messing around with / since that’s not something someone does very often.