• Undearius
      link
      fedilink
      English
      348 days ago

      sudo chown -R 1000:1000 /* && sudo chmod -R 777 /*

        • @DaddleDew@lemmy.world
          link
          fedilink
          328 days ago

          Now I’ve learned enough to know that I can easily learn what all that apparent gibberish does with the “man” command, but you have no idea how unbelievably unapproachable this makes Linux look to the uninitiated.

          • @feannag@sh.itjust.works
            link
            fedilink
            English
            15
            edit-2
            8 days ago

            Create one command “iownyou” that does tbe following: Change the owner of every file on the computer to the default user and make every file readable, writeable, an executable by anyone or anything on the computer. It may not be secure, but on the bright side, you’ll never have permission issues again!

            • @Zanathos@lemmy.world
              link
              fedilink
              87 days ago

              Until you realize you just screwed up whatever services you may be running that require specific permissions on specific files. Certificates specifically come to mind for my environment.

          • @JcbAzPx@lemmy.world
            link
            fedilink
            English
            67 days ago

            This isn’t all that different from using CMD on windows. Except that it works better, obviously.

      • @lmmarsano@lemmynsfw.com
        link
        fedilink
        English
        2
        edit-2
        7 days ago

        Great way to get your computer pwnt.

        /*

        What’s * doing here? Operate only on the nonhidden top-level files?

    • @BlackPenguins@lemmy.world
      link
      fedilink
      77 days ago

      Then you sudo chmod. Windows I have to do weird shit with the properties context menu. And even that sometimes doesn’t work. I run commands in powershell as Administrator. Still doesn’t work.

      Fuck Windows.

      • @ILikeBoobies@lemmy.ca
        link
        fedilink
        16 days ago

        That’s just because Linux is designed for end users so everything is intuitive and easy. Windows is designed for tech nerds that like digging through pages to make anything work