FYI, if users complain about permissions, try this command so you can get back to browsing Lemmy and tell them to fuck off.

chmod 777 -R /

  • IOu1
    link
    fedilink
    English
    arrow-up
    10
    arrow-down
    1
    ·
    edit-2
    2 years ago

    No sir, you’re doing it wrong. This is being done without security in mind. That way, just anyone can execute anything.

    chmod 666 -R / is the way.

    Edit: remember to run as root

    • gizmonicusOP
      link
      fedilink
      English
      arrow-up
      8
      ·
      2 years ago

      Pish posh. If security is your game, chmod 000 -R / is your game. Don’t forget to run iptables -A input -i any -j DROP to stop those ne’er-do-wells on the LAN from fuckin up your server with their filthy, virus infested client machines.

      • IOu1
        link
        fedilink
        English
        arrow-up
        6
        ·
        edit-2
        2 years ago

        this guy securitys!!! also block port 22 on your firewall so nobody can access SSH.