ketysek

Q: Restore OS X El Capitan system permissions to default

Hello, I would like to ask, if there's an option to restore system permissions to default? I've accidentally run command sudo chmod -R 777 / and didn't notice the root path, so after that my system was broken and I was unable to boot. I've reinstalled the OS from recovery mode, all my data and installed application remained unchanged, but the system permissions are still broken (777), so it throws an error almost after every command in terminal. What's the solution of my problem? Thanks for an answer!

MacBook Pro with Retina display, OS X El Capitan (10.11.6)

Posted on Sep 16, 2016 6:24 AM

Close

Q: Restore OS X El Capitan system permissions to default

  • All replies
  • Helpful answers

  • by Luis Sequeira1,

    Luis Sequeira1 Luis Sequeira1 Sep 16, 2016 7:30 AM in response to ketysek
    Level 6 (12,436 points)
    Mac OS X
    Sep 16, 2016 7:30 AM in response to ketysek

    I fail to see how 777 (which means all permissions to all users) would cause all these errors.

     

    You should clone your drive, wipe it, do a clean install and then use Migration Assistan to bring your user account back.

    All your documents will retain the 777, but system files and applications will get their proper permissions.

  • by ketysek,

    ketysek ketysek Sep 16, 2016 12:34 PM in response to Luis Sequeira1
    Level 1 (4 points)
    Mac OS X
    Sep 16, 2016 12:34 PM in response to Luis Sequeira1

    It causes errors because some commands or applications forbid "world writtable" files Now I've got a clean installation of El Capitan and I am done Thanks