• bitchkat@lemmy.world
    link
    fedilink
    English
    arrow-up
    37
    ·
    2 months ago

    Had an idiot “fix” a permission problem by running “sudo chmod -R 777 /”

    And that is why sudo privileges were removed for the vast majority of people.

    • bigbuckalex@lemmy.zip
      link
      fedilink
      arrow-up
      16
      ·
      2 months ago

      Oh… That sounds like a nightmare. How do you even fix that? There’s no “revert the entire filesystem’s permissions to default” button that I’m aware of

    • MTK@lemmy.world
      link
      fedilink
      arrow-up
      9
      arrow-down
      1
      ·
      2 months ago

      seems reasonable to me, root is just a made up concept and the human owns the machine.

    • mlg@lemmy.world
      link
      fedilink
      English
      arrow-up
      5
      ·
      2 months ago

      Shared this before, but someone I know did a chmod on /bin which nuked all the SUID/GUID bits which borked the system lol.

      Surpsingly easy enough to undo by getting a list of the correct perms from a working system, but hilarious nonetheless