I did sudo chmod -R 777 / on our production server and everything got messed up. The hosted sites and API's stopped working, SSH said connection refused, it was a cyberpanel running cent os 7 and we couldn't even log into cyberpanel.
I thought that all users would have have all permissions on all files in the system and executed the command. I don't quite understand what went wrong.