• bitchkat@lemmy.world
        link
        fedilink
        English
        arrow-up
        6
        ·
        11 hours ago

        Back in the olden days we used to nfs mount every other machines file system on every machine. I was root and ran “rm -rf /" instead of "./”.

        After I realized that it was taking too long, i realized my error.

        Now for the fun part. In those days nfs passed root privileges to the remote file system. I took out 2.5 machines before I killed it.

        • baines@lemmy.cafe
          link
          fedilink
          English
          arrow-up
          2
          ·
          6 hours ago

          I did this in a cleanup script in a make file with an undefined path that turned the pointed dir to root after a hardware change

          thank rngesus I was in a user account with limited privileges

    • hddsx@lemmy.ca
      link
      fedilink
      arrow-up
      12
      ·
      22 hours ago

      You won’t be able to do certain things. Either .ssh or ~ expects certain exact permissions and pukes if it’s different, IIRC

      • Cethin@lemmy.zip
        link
        fedilink
        English
        arrow-up
        7
        ·
        15 hours ago

        Yep. I fucked up once when I meant to type chmod for something but with “./” but I missed the “.”. It was not good.