• @LrdThndr
          link
          411 months ago

          Boot from a usb stick, mount the fs, use the live environment’s chmod command to fix stuff.

      • @nixcamic
        link
        311 months ago

        I think you’ll need to change passwd and shadow, maybe a few other files, but besides that it’ll mostly work.

    • @utopianfiat
      link
      English
      411 months ago

      Yeah that’s the painful part. A backup would be key here

      • @[email protected]
        link
        fedilink
        111 months ago

        Worst case you boot up a virtual server with the same OS as your own and just go down the tree learning permissions, and it’s a deep dive learning experience.