• psud
      link
      fedilink
      arrow-up
      7
      ·
      11 months ago

      I’m picturing all the services complaining their keys are insecure, their configs are insecure

      • BestBouclettes@jlai.lu
        link
        fedilink
        arrow-up
        3
        ·
        edit-2
        11 months ago

        Here is the breakdown:

        • chmod is the command to change the mode of the files (-rwxrwxrwx)
        • -R is the recurse flag,
        • a means “all”, you can also have u, g or o (respectively user, group and others) instead.
        • + is add (you can remove with -),
        • rw is the permissions (rw of rwx)

        I prefer changing permissions this way instead of using absolute values (0777 for instance) as it’s easier to reverse if you made a mistake.