If you run into odd slow-downs or problems with loading specific programs and services, then sometimes this can be caused by the inability of the program or service to access a necessary resource on disk, be it a preference file, or a core resource like a framework, font, or audio unit. In these cases you might see an error, but also might just see the problematic behavior.
Fixing permissions in OS X is relatively straight-forward, and simply requires you to open Disk Utility, select your boot drive, and then click the “Repair Permissions” button in the First Aid tab. Doing this will have the system check various receipt and bill of materials files in the Macintosh HD > Library > Receipts, and hidden var > db > receipts folders, and reset the permissions for files on disk to those represented by the files in these receipts. This is all done automatically, so you only have to click the “Repair Permissions” button and wait for the routine to end.
While a global permissions fix like this can be useful, it does not touch your home folder, and this is often where a permissions snafu can result in a headache or two.
Your home folder needs a specific permissions setup, not only to ensure full and proper access by your account, but also for security to prevent other people on the system from accessing your private files. To ensure your account’s permissions are set up properly, you need to first strip any access control lists from the account, and then use Apple’s password utility to reset home folder permissions:
- Strip ACLs from your account by running the following command in the Terminal:
sudo chmod -RN ~/
- Boot to Recovery mode by holding Command-R at startup.
- After selecting your language and are at the Tools window, choose the “Reset Password” option from the Utilities menu, or if this is not available, choose Terminal and then run the command “resetpassword” (all one word).
- In the password reset utility, select your hard drive, and then select your user account from the drop-down menu.
- With your account selected, click the “button to reset home folder permissions and ACLs” at the bottom of the password reset tool’s window.
This reset should only take a few moments at most to complete, and then you can reboot your system and log back into your account, to see if the changes have made a difference for whatever problem you have been experiencing.