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@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    7
    arrow-down
    1
    ·
    edit-2
    1 year 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

    • gizmonicus@sh.itjust.worksOP
      link
      fedilink
      English
      arrow-up
      6
      ·
      1 year 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@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        5
        ·
        edit-2
        1 year ago

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