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.

  • Sarsoar@lemmy.world
    link
    fedilink
    arrow-up
    3
    ·
    1 year ago

    I came here to comment basically this. Except I did it last year and accidentally broke that system. Was trying to do the working directory and mistyped and did the root dir.

    For those that don’t know, so many elevated permissions commands fail if permissions are too open. And even ssh breaks because your certs and authorized_keys need to be only readable by you.

    I luckily was able to wipe and just restore an older image backup.

    • AlpacaChariot@lemmy.world
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 year ago

      Yeah and you also need execute permissions to read what’s in a directory, so 666 for the whole system means you basically lose access to 99% of files

      • Hotzilla@sopuli.xyz
        link
        fedilink
        arrow-up
        2
        ·
        1 year ago

        Yes, I learned very quickly that +1 in this flag syntax means execution, so first 6 means that owner of the file does not have execution permission, which means that nothing is allowed to execute in the system.