I thought would be a good idea to run chmod o-w,o-r,o-x in my home folder and /var/root.

After doing that, programs were unable to start properly, saying they couldn't write to /var/folders. I moved folders to folders 2, but no joy. I ran chmod -R 755 in both folders and things were kind of fixed, but programs couldn't access the keychain. I restored back the original /var/folders, but now all I get is the Apple loading bar stuck at boot and can't boot to safe mode. macOS Sierra, SIP disabled.


1 Answer 1


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.

  • I'm stuck at the apple logo screen, even holding Shift to go into safe mode Jun 7, 2017 at 18:39
  • @Paulo Hold ⌘R on boot for recovery.
    – grg
    Jun 7, 2017 at 18:41

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .