• Undearius
    link
    fedilink
    English
    3411 days ago

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

      • @DaddleDew@lemmy.world
        cake
        link
        fedilink
        3211 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
          11 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
            811 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
          611 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
      10 days ago

      Great way to get your computer pwnt.

      /*

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