• @[email protected]
    link
    fedilink
    3110 months ago

    The theme contained rm -rf, but claims it wasn’t malicious intent…I assume rm -rf for cleanup, but seems like it should have a apecific path other than /

    • @[email protected]
      link
      fedilink
      43
      edit-2
      10 months ago

      The command was rm -rf $pathvariable

      Bug in the code caused the path to be root. Wasn’t explicitly malicious

      • Dandroid
        link
        fedilink
        1910 months ago

        Don’t most distros have safeguards against this? I tried sudo rm -rf / in an Ubuntu VM that I was about to delete just to see what happened, and it gave me a warning. I had to add some other option to bypass the warning.

        • Eager Eagle
          link
          English
          1410 months ago

          it apparently was defaulting to the home dir, not /

          • Dandroid
            link
            fedilink
            110 months ago

            Oh, oof.

            Hopefully most people take regular snapshots.

          • Rustmilian
            link
            English
            8
            edit-2
            10 months ago

            --no-preserve-root

    • @GlitterInfection
      link
      English
      2210 months ago

      When I worked at Pixar long ago an intern had a cron job that was intended to clean up his nightly build and ended up deleting everything on the network share for everyone!

      Fortunately there were back-ups and it was fine, but that day was really hilariously annoying while they tracked down things disappearing.