Changed premissions in home folders and computer won't boot
Boot to Recovery HD, choose Utilities → Terminal, run resetpassword and choose to reset permissions and ACLs for your user account.

If that doesn't work, you may have to reinstall macOS. SIP protects the permissions on OS files, so disabling that will allow you to run commands which break the OS.