Lemdro.id
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Dehydrated@lemmy.world to Linux Gaming@lemmy.worldEnglish · 1 year ago

How A Steam Bug Deleted Someone’s Entire PC

iv.datura.network

external-link
message-square
10
fedilink
  • cross-posted to:
  • linux@lemmy.world
  • videos@lemmy.world
-14
external-link

How A Steam Bug Deleted Someone’s Entire PC

iv.datura.network

Dehydrated@lemmy.world to Linux Gaming@lemmy.worldEnglish · 1 year ago
message-square
10
fedilink
  • cross-posted to:
  • linux@lemmy.world
  • videos@lemmy.world
A deeper look into a steam-for-linux GitHub issue (https://github.com/valvesoftware/steam-for-linux/issues/3671) investigating how a steam script was able to delete the entire contents of someone's root directory. While the direct cause of the rm -rf is fairly obvious, how it was triggered in the original bug report is not, and may forever remain a mystery... Sources: https://www.opensuse-forum.de/thread/10620-suse-ist-leer/?postID=70749 (buggy copy of steam.sh posted by "Acies") https://wiki.archlinux.org/title/steam Chapters: 0:00 Intro 0:26 Steam on Linux 1:40 The Bug 2:58 STEAMROOT 6:04 reset_steam() 8:11 Valve theory 9:21 My "theory" 10:34 Fix Corrections: - At 0:56 the descriptions for /bin and /usr/bin are historically correct, but on modern Linux distributions (e.g. beginning in Ubuntu 19.04), /bin is replaced with a symlink to /usr/bin (in a transition called "merged /usr" or "/usr merge") so both contain the same contents. Music: - We Shop Song by Philip Milman - Blue Mood by Robert Munzinger - Aloft by LEMMiNO (https://www.youtube.com/watch?v=XNEKdkB_kdc) - Firecracker by LEMMiNO (https://www.youtube.com/watch?v=ulfoU2MziOc) - Cool Vibes by Kevin MacLeod - Financial Obligations by Philip Milman
alert-triangle
You must log in or register to comment.
  • SpaceNoodle@lemmy.world
    link
    fedilink
    English
    arrow-up
    20
    ·
    1 year ago

    This could have been an article

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

      Yeah, I’m sitting next to someone and I don’t loudly watch YouTube next to others. Guess I’ll never know how Steam did it. ¯\(ツ)/¯

      • SpaceNoodle@lemmy.world
        link
        fedilink
        English
        arrow-up
        4
        ·
        1 year ago

        I was in bed next to my sleeping partner and under a cat. Guess I’ll I’ve in ignorance

  • 🇰 🌀 🇱 🇦 🇳 🇦 🇰 🇮 🏆@yiffit.net
    link
    fedilink
    English
    arrow-up
    15
    ·
    edit-2
    1 year ago

    Deleted entire computer

  • L3ft_F13ld!@links.hackliberty.org
    link
    fedilink
    English
    arrow-up
    12
    arrow-down
    1
    ·
    1 year ago

    This is old news that happened a few years ago from what I remember.

    Bug has since been fixed.

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

      Ok, thanks for the info. I started freaking out :D

  • Scrubbles@poptalk.scrubbles.tech
    link
    fedilink
    English
    arrow-up
    6
    arrow-down
    5
    ·
    1 year ago

    Horrible horrible clickbait image - immediate downvote

    • Dehydrated@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      9
      ·
      1 year ago

      It’s not clickbait. The Linux version of Steam consisted of a binary, as well as a script called steam.sh which could be used to launch Steam. There actually was a line in that script with a comment above it saying # Scary!. The script was not supposed to rm -rf the entire hard drive, but if something went wrong, exactly that happened.

      • Scrubbles@poptalk.scrubbles.tech
        link
        fedilink
        English
        arrow-up
        5
        arrow-down
        7
        ·
        1 year ago

        Didn’t say the content was, the image itself is clickbaity.

        • stepanzak@iusearchlinux.fyi
          link
          fedilink
          English
          arrow-up
          12
          ·
          1 year ago

          Well, it’s not if it’s the actual code Steam shipped with on thumbnail.

Linux Gaming@lemmy.world

linux_gaming@lemmy.world

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_gaming@lemmy.world

Discussions and news about gaming on the GNU/Linux family of operating systems (including the Steam Deck). Potentially a $HOME away from home for disgruntled /r/linux_gaming denizens of the redditarian demesne.

This page can be subscribed to via RSS.

Original /r/linux_gaming pengwing by uoou.

No memes/shitposts/low-effort posts, please.

Resources

WWW:

  • Linux Gaming wiki
  • Gaming on Linux
  • ProtonDB
  • Lutris
  • PCGamingWiki
  • LibreGameWiki
  • Boiling Steam
  • Phoronix

Discord:

  • Gaming on Linux
  • Linux Gamers Group
  • Linux Gaming
  • Lutris

IRC:

  • Gaming on Linux

Matrix:

  • Linux Gamers Group (space)
  • Linux Gamers Group (“home” room)
  • Linux Gaming

Telegram:

  • Gaming on Linux
Visibility: Public
globe

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

  • 155 users / day
  • 1.02K users / week
  • 3.47K users / month
  • 8.57K users / 6 months
  • 51 local subscribers
  • 18.4K subscribers
  • 1.55K Posts
  • 17.7K Comments
  • Modlog
  • mods:
  • monolalia@lemmy.world
  • UI: 0.19.8
  • BE: 0.19.9
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org