You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

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

Reset Home Folder permissions and ACLs Error

I have repeatedly run "Reset Home Folder permissions and ACLs" and let it run for up to a day and it never completes the task.


I ran it from startup (Command + Option + R) - Utilities - Terminal - typed "resetpassword" - chose my user account - selected "Reset Home Folder permissions and ACLs."


I was confused by some other threads as to whether or not there was a safe way to resolve this.


I'm running OS X Mouintain Lion 10.8.4.


Before trying this I repeatedly ran all of the repair permissions options and other utilities in disk utilities.

iMac, OS X Mountain Lion (10.8.4)

Posted on Aug 31, 2013 10:06 AM

Reply
39 replies

Mar 30, 2017 12:36 AM in response to Linc Davis

Hi Linc,

I'm having a similar issue with my MBP

I think the issue started after trying to rename the home folder or the user account to something different to the computer name (or it could be related to moving files around using iCloud).

Either way, there's a whole folder of images which I cannot open and which give me permission errors. I've tried LOTS of different things to try to resolve the problems, including reinstalling the OS, renaming the hard-drive, renaming my admin user account, resetting ACLs, repairing permissions etc. none of which worked.

I entered

find ~ $TMPDIR.. \( -flags +sappnd,schg,uappnd,uchg -o ! -user $UID -o ! -perm -600 -o -acl \) 2> /dev/null | wc -l

into the terminal however, and got this number in response: 49


Could you please help me identify and solve the problem? I'd really value your input.

Thank you

Best wishes

Richard

Aug 31, 2013 12:25 PM in response to Wanttogobacktopc

Problems such as yours are sometimes caused by files that should belong to you but are locked or have wrong permissions. This procedure will check for such files. It makes no changes and therefore will not, in itself, solve your problem.

First, empty the Trash.

Triple-click the line below on this page to select it, then copy the selected text to the Clipboard (command-C):

find ~ $TMPDIR.. \( -flags +sappnd,schg,uappnd,uchg -o ! -user $UID -o ! -perm -600 -o -acl \) 2> /dev/null | wc -l

Launch the Terminal application in any of the following ways:

☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)

☞ In the Finder, select Go Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.

☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.

Paste into the Terminal window (command-V). The command may take a noticeable amount of time to run. Wait for a new line ending in a dollar sign (“$”) to appear.

The output of this command, on a line directly below what you entered, will be a number such as "41." Please post it in a reply.

Aug 31, 2013 1:48 PM in response to Wanttogobacktopc

Back up all data. Don't continue unless you're sure you can restore from a backup, even if you're unable to log in.

This procedure will unlock all your user files (not system files) and reset their ownership and access-control lists to the default. If you've set special values for those attributes on any of your files, they will be reverted. In that case, either stop here, or be prepared to recreate the settings if necessary. Do so only after verifying that those settings didn't cause the problem. If none of this is meaningful to you, you don't need to worry about it.


Step 1

If you have more than one user account, and the one in question is not an administrator account, then temporarily promote it to administrator status in the Users & Groups preference pane. To do that, unlock the preference pane using the credentials of an administrator, check the box marked Allow user to administer this computer, then reboot. You can demote the problem account back to standard status when this step has been completed.

Enter the following command in the Terminal window in the same way as before (triple-click, copy, and paste):

{ sudo chflags -R nouchg,nouappnd ~ $TMPDIR.. ; sudo chown -R $UID:staff ~ $_ ; sudo chmod -R u+rwX ~ $_ ; chmod -R -N ~ $_ ; } 2> /dev/null

This time you'll be prompted for your login password, which won't be displayed when you type it. You may get a one-time warning to be careful. If you don’t have a login password, you’ll need to set one before you can run the command. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator.


The command will take a noticeable amount of time to run. Wait for a new line ending in a dollar sign (“$”) to appear, then quit Terminal.

Step 2 (optional)


Take this step only if you have trouble with Step 1 or if it doesn't solve the problem.

Boot into Recovery. When the OS X Utilities screen appears, select

Utilities Terminal

from the menu bar. A Terminal window will open.

In the Terminal window, type this:

res


Press the tab key. The partial command you typed will automatically be completed to this:

resetpassword


Press return. A Reset Password window will open. You’re not going to reset a password.

Select your boot volume ("Macintosh HD," unless you gave it a different name) if not already selected.

Select your username from the menu labeled Select the user account if not already selected.

Under Reset Home Directory Permissions and ACLs, click the Reset button.

Select

Restart

from the menu bar.

Sep 1, 2013 8:46 PM in response to Linc Davis

Success! This resolved my aperture/iphoto videos not showing up in iMovie and the Reset Home Directory Permissions and ACLs getting hung up in a loop. I have no idea what this did but it worked flawlessly.


Linc, please understand that the nearest Apple Store to me is over 30 miles away and I've made numerous round trips over the past year to get this fixed without success. I also haven't been able to make use of the one-to-one training sessions that I purchased like I wanted to because we couldn't access my home videos. I simply can't thank you enough for your assistance. This issue had me so disappointed and stressed out for so long. If there was a way to give you more points for helping me I would do so.


🙂

Oct 4, 2013 7:50 AM in response to Wanttogobacktopc

A MBP was recently returned to us from a past employee. The password he's given us have not been working. I just tried your notes on reseting the PW. Now, when I login, the user folders are all empty. So, if somehow I am able to figure out what the old password was and If we updated the keychain using these steps:


  1. Open Keychain Access located in Applications > Utilities.
  2. From the Edit menu, choose: Change Password for Keychain "login"…
  3. Type the previous password, then click OK.
  4. If the correct password is entered, a new window appears. Enter the original password again in the Current Password field.
  5. In the New Password field, type the password that matches the current account password.
  6. Re-enter the newer password in the Verify field, then click OK.


Would that return access to all the user files?

Oct 4, 2013 12:01 PM in response to Barney-15E

Log in as another user and look to see if there is anything in his old Home folder. It is in /Users.

If there is nothing in the home subfolders, then it was all erased. If it is important enough to spend a few hundred dollars, you might be able to get a recovery service to recover it.


If you don't have another user, you can boot the Mac into Firewire Target Disk Mode and connect it to another Mac. The Target Disk Mode mac will show up as a hard drive on the other Mac. You can then poke around to find the data, if it exists. To boot into Target Disk Mode, hold down the T key on restart. You will see a firewire symbol on the screen. It is now acting like a hard disk.

If the Mac doesn't have a Firewire port, you may need a Thunderbolt to Firewire conversion cable. Cable configuration will depend on what kind of port the TDM Mac has, and what the othe Mac has. You can get Firewire cables to go 800 to 800, 800 to 400, and Thunderbolt to 800.

Reset Home Folder permissions and ACLs Error

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