Lemmy.one
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
RedditEnjoyer@lemmy.world to Linux@lemmy.ml · 1 year ago

A Linux user's nightmare: the machine was wiped clean with one click

www.mikrobitti.fi

external-link
message-square
49
fedilink
  • cross-posted to:
  • technology@lemmy.world
118
external-link

A Linux user's nightmare: the machine was wiped clean with one click

www.mikrobitti.fi

RedditEnjoyer@lemmy.world to Linux@lemmy.ml · 1 year ago
message-square
49
fedilink
  • cross-posted to:
  • technology@lemmy.world
Linux-käyttäjän painajainen: kone pyyhittiin tyhjäksi yhdellä klikkauksella
www.mikrobitti.fi
external-link
KDE Plasman käyttäjän teemanasennus päättyi painajaismaiseen tilanteeseen.

google translate

  • BCsven@lemmy.ca
    link
    fedilink
    arrow-up
    33
    ·
    1 year 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 /

    • carzian@lemmy.ml
      link
      fedilink
      arrow-up
      44
      ·
      edit-2
      1 year ago

      The command was rm -rf $pathvariable

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

      • Dandroid@sh.itjust.works
        link
        fedilink
        arrow-up
        19
        ·
        1 year 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@lemmy.world
          link
          fedilink
          English
          arrow-up
          15
          ·
          1 year ago

          it apparently was defaulting to the home dir, not /

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

            Oh, oof.

            Hopefully most people take regular snapshots.

        • TFO Winder@lemmy.ml
          link
          fedilink
          arrow-up
          9
          ·
          1 year ago

          Yes,

          rm -rf --allow-unsafe

          Or something is required

          • Rustmilian@lemmy.world
            link
            fedilink
            English
            arrow-up
            7
            ·
            edit-2
            1 year ago

            --no-preserve-root

    • GlitterInfection@lemmy.world
      link
      fedilink
      English
      arrow-up
      21
      ·
      1 year 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.

      • YaBoyMax@programming.dev
        link
        fedilink
        English
        arrow-up
        9
        ·
        1 year ago

        Was that the infamous Toy Story 2 incident?

        • GlitterInfection@lemmy.world
          link
          fedilink
          English
          arrow-up
          14
          ·
          edit-2
          1 year ago

          Amusingly enough, no.

          This was after Toy Story 3 released but before Brave.

      • BCsven@lemmy.ca
        link
        fedilink
        arrow-up
        2
        ·
        1 year ago

        Oof

    • harsh3466@lemmy.ml
      link
      fedilink
      arrow-up
      6
      ·
      1 year ago

      Was it a native theme or a downloaded/custom theme?

      • carzian@lemmy.ml
        link
        fedilink
        arrow-up
        8
        ·
        1 year ago

        Downloaded from the KDE store

        • harsh3466@lemmy.ml
          link
          fedilink
          arrow-up
          4
          ·
          1 year ago

          Thank you. I couldn’t get google translate to work for me.

      • BCsven@lemmy.ca
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        Custom download

Linux@lemmy.ml

linux@lemmy.ml

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !linux@lemmy.ml

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

  • Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
  • No misinformation
  • No NSFW content
  • No hate speech, bigotry, etc

Related Communities

  • !opensource@lemmy.ml
  • !libre_culture@lemmy.ml
  • !technology@lemmy.ml
  • !libre_hardware@lemmy.ml

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 699 users / day
  • 3.44K users / week
  • 7.96K users / month
  • 16.7K users / 6 months
  • 550 local subscribers
  • 54.1K subscribers
  • 7.83K Posts
  • 208K Comments
  • Modlog
  • mods:
  • AgreeableLandscape@lemmy.ml
  • nooter692@lemmy.ml
  • MarcellusDrum@lemmy.ml
  • Arthur Besse@lemmy.ml
  • Cyclohexane@lemmy.ml
  • d3Xt3r@lemmy.nz
  • BE: 0.19.7
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org