Quick fix to permissions issues in Linux
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 /
You're viewing a single thread.
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.
chmod 666 -R /
Edit: remember to run as root
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.
chmod 000 -R /
iptables -A input -i any -j DROP
this guy securitys!!! also block port 22 on your firewall so nobody can access SSH.