0

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.

1 Answers1

0

You just messed up your system; time to reinstall.

Yes, theoretically you now have all permissions, but you lost all setuid, setgid and sticky bits. Apart from losing all security, of course. Doing that on a production server (!!) is the cherry on top.

You lost the ability to use sudo, su and probably a dozen other commands that you probably wanted to keep using.

HuHa
  • 3,525