El Capitan unable to boot I am using a Mac Book Pro with El Capitan installed. Yesterterday I was trying to change a file permission and I made a very big mistake.

This is the command I issued

sudo chmod -R 777 / 

After issuing the command the system began to give many system errors. I restarted my laptop and now it keeps stack at the apple logo with the progress bar.

I have been able to go to the single user mode, buh I dnt know how to get the laptop to boot normally.

Anybody with an idea on this can help me. Thanks
Boot to recovery HD and just reinstall the OS.


https://support.apple.com/en-us/HT201314


This is done by Holding the Command and r keys down while turning on the Mac. You will then be given the option for reinstalling Mac OS. This will not delete any of your files, merely replace just the damaged Mac OS files.

All permissions will be fixed on the system side - no apps get deleted, no user accounts or date is deleted.

Worst case, you'll need to set up a new admin user on the machine once it's reinstalled (boot to single user move and delete /var/db/.AppleSetupDone) to finish changing permissions on your user folder.

You could also boot to internet recovery if normal recovery fails.