Permissions and what to do
Sometimes, permissions can get messed up. The system get's confused on who has access to what which has many side-effects. I know of a few ways of tackling this problem.
Repairing Disk Permissions
.bom files to repair permissions.
.bom files, or "Bill of Materials", and are used as installation files:
BOM files contain information used to determine which files to install, update, or remove during a software update; contains files that have been installed; may include Unix permissions, owner and group data, file size, last modified date, and a checksum for each file
When you repair permissions, your Mac looks at the .bom files here and checks the actual files on your system. If a file or folder on your system has permissions that donxe2x80x99t match the permissions specified in the .bom files, your Mac will change the permissions to match those in the .bom files.
- Open Disk Utility. Hit: xe2x8cx98 + Space start typing "Disk Utility" and hit enter when it shows up. Spotlight Help
- Navigate to your disk / partition, this is usually Macintosh HD
- Then, click Repair Disk Permissions, if that is grayed out, try Verify Disk Permissions. If both are grayed out, this might be of help
(The computer I'm on doesn't have Yosemite but it'll be just the same)
Repairing Home Directory Permissions
If that doesn't help, you have a slightly more "annoying" problem. You need to repair your Home Directory Permissions.
This tool doesnxe2x80x99t use .bom files to adjust system file permissions, it just repairs a user accountxe2x80x99s home directory to the standard, default permissions.
- Save all data and close all applications.
- Shutdown your computer
Now you need to enter "OS X Recovery Mode"
- Turn on your Mac while holding xe2x8cx98 + R. Recovery Mode should boot
- At the top, look for the menu menu bar and click Utilities
- From there, select Terminal
- Now in Terminal, type in:
resetpassword. No, you won't be changing your password
- You should see a popup. Select Macintosh HD.
- Look towards the bottom of the window and click the Reset Home Folder Permissions and ACLs button.
- Once that finishes you should be good to go
Is the problem located in your keychain? That could just be it. Try creating a new account and testing if the problem still occurs, if it doesn't then you've narrowed it down to your account. I'm going to link this thread, which goes over fixing a keychain, to avoid making this question to long I've been spending almost half an hour writing this. In Keychain Access, you may just have to unlock your keychain, leave it like that and see if the problem continues.
If you're here, you're running out of options (as far as I know). A few tools / Applications I've seen help people:
- BatchMod changes file permissions
- Cocktail, source.
If all else fails (A LAST RESORT),
If everything else fails, but you've narrowed down the problem to your user, you can try this. In System Preferences, create a new user account just the same as yours. Then, you can delete your current account and set the home directory of the new account to the one of your old one. How to change your home directory. I've only had to do this once but it should get rid of the issue. Obviously this should be a last resort option and isn't perfect.
Hope that helps :) I've dealt with very similar problems when upgrading and usually after doing these, the problem disappears.