Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I managed to Control+C out of it at a certain point. Is there a way to undo the damage?

share|improve this question
In general, no, there is no way to undo such a command. – Christian Jonassen Mar 6 '12 at 2:54

There is no way for BASH to know what the opposite of the command you just ran is. You can try the following:

Create a new Admin user.

Log into the new account.

Delete the original User account, choosing leave the home folder alone.

Add the account again with the exact same short name. Choose to use the existing home folder when asked.

The permissions will be fixed when recreating the user account.

share|improve this answer
will this remove any of my files? – Alex Mar 5 '12 at 21:42
You opt to leave the Home Folder when removing the account. Feel free to test on another account first. – xXPhenom22Xx Mar 5 '12 at 21:43

OSX's Disk Utility has a repair permissions tool. It will probably get your home directory to a usable state, but it will not repair everything (see Apple Support Issue HT1452).

share|improve this answer
Disk Utility's permissions repair does not check user files. From the KB article: "Files that aren't installed as part of an Apple-originated installer package are not listed in a receipt and therefore are not checked." – Gordon Davisson Mar 6 '12 at 4:46

You can reset the permissions from the OS X Installer disc. This is a more complete fix of permissions than the Disk Utility repair permissions and will put the proper permissions and ACLs in place for your home folder.

share|improve this answer
I have lion. Do I need a lion usb? – Alex Mar 6 '12 at 1:37
You can do it from the Recovery Partition assuming you have one.… If you don't have the recovery partition you should be able to achieve the same with the purchased USB boot installer or a DVD created from the App Store download of Lion:… – ridogi Mar 6 '12 at 2:44

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.