Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Ownership and Permissions Trainwreck

Several programs started exhibiting very strange behavior over the last week or so (all of which I won't go into, but all indicating inability to access or write to something in my main user account Library), including Mail not being able to save its Preferences, giving me an error every time I try to close it saying the disk may be full or "permissions may not be set correctly" (something to that effect).

I have discovered that my main user account folder (which was the only account, but I've now created a temporary other admin account) has its "Sharing & Permissions" set to "system" and "admin" for Read & Write, and my USERNAME/Library folder and the USERNAME/Library/Preferences folder both have "system" and "wheel" set to Read & Write. All three of those have "everyone" set to "Custom."

I tried running BatCHmod to set MYUSERNAME as the owner and group for my main user folder, but it didn't change those three.

Now Mail is acting strangely, opening with one particular mail account selected every time it's opened or I reboot, no matter what account was selected when I quit, and that account always is scrolled to the very top of the list (which is sorted by date). This never used to happen. It would open to the last mailbox selected, and to the bottom (most recent) in the list.

Is there any way out of this nightmare?

2.33 GHz Intel Core 2 Duo iMac, Mac OS X (10.5.8)

Posted on Feb 12, 2011 8:29 AM

Reply
7 replies

Feb 12, 2011 10:25 AM in response to Marie Avante

Assuming you haven't done anything rash the following should fix the problem:

To fix Home folder permissions

Open the Terminal application in the Utilities folder. At the command line prompt enter or paste the following command line:
sudo chown -R `id -un`:`id -gn` ~
Press RETURN. You will be prompted to enter your admin password which will not be echoed.

This will only affect your Home folder. Restart the computer.

Feb 13, 2011 6:00 AM in response to Kappy

Thanks so much, Kappy. Someone in another forum gave me similar advice, but with a somewhat different code:

sudo chown -Rf YOUR-USER-NAME:YOUR-USER-NAME ~/*

I did that and it seems to have resolved the issues. I wouldn't mind knowing the difference in what you said to use and that command. Also, I cant tell if what you wrote is supposed to include the weird accent mark next to the "1" on my main keyboard (on the same key as the tilde, when shifted) or if those are just supposed to be apostrophes.

In any case, I appreciate your help.

Feb 14, 2011 12:49 PM in response to Marie Avante

Marie Avante wrote:
sudo chown -Rf YOUR-USER-NAME:YOUR-USER-NAME ~/*


I cant tell if what you wrote is supposed to include the weird accent mark next to the "1" on my main keyboard (on the same key as the tilde, when shifted) or if those are just supposed to be apostrophes.


To answer the one remaining unanswered question, yes, those are supposed to be "back tics" (left of the "1" key). They cause the enclosed text to be executed as a command, then the result of the that command is substituted into the "outer" command.

Ownership and Permissions Trainwreck

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.