Word to the unwise and the terribly unprogrammed; don’t change permissions on your deck

Long story short, I did something dumb like;

sudo su (Password) chown deck -r /

Don’t do it

Just

Don’t

You’ll change who owns Sudo And if 0 doesn’t own Sudo

Nobody does

  • pyro57@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    10 months ago

    Ooof dude, read another comment about how you wanted to “drag and drop with out auth” and “the steam deck is your PC” that auth is there for a reason if you need to move files around just do it in the terminal with sudo, or open a dolphin window temporarily with sudo. Being root all the time or having your standard user have access to ALL files is a security nightmare. One accidental click on a bad .desktop file, elf binary, or script and boom your whole system is owned along with everything you do on it. With needing sudo for everything only your home folder is compromised… Which is still bad but not as bad.

    Honestly I’d highly recommend checking out distrobox instead of mucking around too much in steamos’s root file system. There’s a handful of things I do to my steamos root system every update, and I have those scripted but its really not meant to be messed with since it installs a new root every update.

    Actually speaking of that, steamos uses an A/B root system… Oh wait… /etc is excluded… So yeah the sudoers file would be shares never mind.

    • slingwebber@alien.topOPB
      link
      fedilink
      English
      arrow-up
      1
      ·
      10 months ago

      I appreciate your thorough review. Yeah, I was actually thinking about trying a new Distro on the deck for shits and giggles. I have had this thing since launch, and I’ve borked Steam OS enough times perhaps my next step is to try an OS that doesn’t tell me No as much.