sudo chmod -R 777 /
I did this. It was a mistake. Is there any way to undo it?
Basically it's messed up more things than I can list. I don't have time-machine enabled on my mac.
I did this. It was a mistake. Is there any way to undo it? Basically it's messed up more things than I can list. I don't have time-machine enabled on my mac. | |||
|
feedback
|
This question came from our site for professional and enthusiast programmers.
|
Take a look at Apple's Disk Utility's Repair Disk Permissions feature: | |||||||||||||||||
feedback
|
|
From http://support.apple.com/kb/HT2963:
| ||||
|
feedback
|
|
You're in luck: It won't fix everything, but it will fix everything that's listed in the bill of materials file for an installed package. | |||
|
feedback
|
|
If there are some tools to revert the permissions, and people are suggesting it, you better first go with it, sudo chmod -R 777 / otherwise you may do is revert all the permissions to some safer level like
and then change the permissions to required level, when there is a conflict. - But its not a good way though. Just some safer approach to prevent screwing up with your files, before anything worse can happen. :( | |||
feedback
|
rm -fr /.) – Jonathan Leffler Jun 22 '11 at 18:20sudogoes on about "think before you type" the first time you use it. ;-) – Scott Jun 22 '11 at 21:05ls -lR / >liston a healthy system (or ask someone else for a list). You could automate this process to re-set the permissions (if this Dirk Utility Repair won't work). – ott-- Oct 21 '11 at 17:38