I accidentally untarred archive intended to be extracted in root directory, which among others included some files for /etc directory.
I went on to rm -rv ~/etc, but I quickly typed rm -rv /etc instead, and hit enter, while using a root account.

  • underscores@lemmy.zip
    link
    fedilink
    English
    arrow-up
    17
    arrow-down
    1
    ·
    4 hours ago

    I agree with this take, don’t wanna blame the victim but there’s a lesson to be learned.

    • neatchee@piefed.social
      link
      fedilink
      English
      arrow-up
      19
      ·
      edit-2
      3 hours ago

      except if you read the accompanying text they already stated the issue by accidentally unpacking an archive to their user directory that was intended for the root directory. that’s how they got an etc dir in their user directory in the first place