Shantley

Q: Can I reset home folder permissions when it's on a separate drive?

I have set up my system/apps on one SSD and my home folder on another. Unfortunately, I have been having lots of permission related problems recently and can't find a way to reset permissions and ACLs on the home folder. I tried the hidden "resetpassword" terminal command that can be accessed in recovery mode, which allows you to reset permissions and ACLs, but it won't touch home folders on a drive separate from the system. I also tried DiskWarrior, but that's not fixing the underlying issues (Acrobat X Pro freezing, Mail not being able to save attachments, can't create projects in imovie b/c I don't have permission, etc). Anyone know how to reset permissions on a home folder when it's on a separate drive?

Mac Pro, OS X Mountain Lion (10.8.3)

Posted on Mar 28, 2013 8:27 AM

Close

Q: Can I reset home folder permissions when it's on a separate drive?

  • All replies
  • Helpful answers

Previous Page 2 of 3 last Next
  • by Linc Davis,

    Linc Davis Linc Davis Mar 29, 2013 12:21 PM in response to Shantley
    Level 10 (207,995 points)
    Applications
    Mar 29, 2013 12:21 PM in response to Shantley

    Have you run Repair Disk on the Home volume?

  • by Shantley,

    Shantley Shantley Mar 29, 2013 3:38 PM in response to Linc Davis
    Level 1 (0 points)
    Mar 29, 2013 3:38 PM in response to Linc Davis

    Just ran Repair Disk and no change.

  • by Linc Davis,

    Linc Davis Linc Davis Mar 29, 2013 4:08 PM in response to Shantley
    Level 10 (207,995 points)
    Applications
    Mar 29, 2013 4:08 PM in response to Shantley

    Launch the Console 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 Console in the icon grid.

     

    Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left. If you don't see that menu, select

    View Show Log List

    from the menu bar.

     

    Click the Clear Display icon in the toolbar. Then try the action that you're having trouble with again. Select any messages that appear in the Console window. Copy them to the Clipboard (command-C). Paste into a reply to this message (command-V).

    When posting a log extract, be selective. In most cases, a few dozen lines are more than enough.

    Please do not indiscriminately dump thousands of lines from the log into this discussion.

    Important: Some private information, such as your name, may appear in the log. Anonymize before posting.

  • by Shantley,

    Shantley Shantley Mar 29, 2013 4:26 PM in response to Linc Davis
    Level 1 (0 points)
    Mar 29, 2013 4:26 PM in response to Linc Davis

    Below are log extracts for two of the scenarios that have been giving me problems. Interestingly, the problem with acrobat x pro hanging seems to be fixed. I don't know when or how as I have tested it immediately after performing each of the prior suggestions and saw no difference.

     

    imovie can't create project

    3/29/13 7:18:08.443 PM iMovie[632]: Project '/iMovie Projects.localized/New Project.rcproject' - save: Error writing to disk!

     

    can't open mail preferences

    3/29/13 7:18:57.524 PM Mail[554]: [<_LibSasl2SASLClient: 0x7ff97934bf90> mechanism: PLAIN security layer: no] Failed to start the SASL connection

    SASL(-1): generic failure:

    3/29/13 7:18:57.548 PM Mail[554]: [<_LibSasl2SASLClient: 0x7ff97928ac50> mechanism: CRAM-MD5 security layer: no] Failed a step of SASL authentication

    SASL(-1): generic failure:

  • by Linc Davis,Helpful

    Linc Davis Linc Davis Mar 29, 2013 5:46 PM in response to Shantley
    Level 10 (207,995 points)
    Applications
    Mar 29, 2013 5:46 PM in response to Shantley

    iMovie was trying to write to a folder at the top level of the startup volume, not on the "Home" volume.

     

    iMovie '11: Copy or move a project to an external hard disk

  • by Shantley,

    Shantley Shantley Mar 30, 2013 7:26 AM in response to Linc Davis
    Level 1 (0 points)
    Mar 30, 2013 7:26 AM in response to Linc Davis

    Thanks. That fixed the imovie problem. Did the extracts for the mail pref issues give any clues?

  • by Linc Davis,

    Linc Davis Linc Davis Mar 30, 2013 10:16 AM in response to Shantley
    Level 10 (207,995 points)
    Applications
    Mar 30, 2013 10:16 AM in response to Shantley

    Back up all data.

     

    Launch the Keychain Access 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 Keychain Access in the icon grid.

     

    Select the login keychain from the list on the left side of the Keychain Access window. If your default keychain has a different name, select that.

     

    If the lock icon in the top left corner of the window shows that the keychain is locked, click to unlock it. You'll be prompted for the keychain password, which is the same as your login password, unless you've changed it.

     

    Right-click or control-click the login entry in the list. From the menu that pops up, select Change Settings for Keychain "login". In the sheet that opens, uncheck both boxes, if not already unchecked.

     

    From the menu bar, select

       

    Keychain Access Preferences First Aid

      

    If the box marked Keep login keychain unlocked is not checked, check it.

     

    Select

      

    Keychain Access Keychain First Aid

       

    from the menu bar and repair the keychain. Quit Keychain Access.

  • by Shantley,

    Shantley Shantley Mar 30, 2013 10:40 AM in response to Linc Davis
    Level 1 (0 points)
    Mar 30, 2013 10:40 AM in response to Linc Davis

    Well, I think you helped identify another problem. The Keychain Access app hangs when I try to launch it. Below is the console extract. It saved a hang report, but it's thousands of lines and I'm not sure what would be helpful, so I didn't include it.

     

    3/30/13 1:32:11.113 PM spindump[5058]: Saved hang report for Keychain Access version 7.0 (55121.4) to /Library/Logs/DiagnosticReports/Keychain Access_2013-03-30-133211_user-name-mac-pro.hang

  • by Linc Davis,

    Linc Davis Linc Davis Mar 30, 2013 11:49 AM in response to Shantley
    Level 10 (207,995 points)
    Applications
    Mar 30, 2013 11:49 AM in response to Shantley

    This is the sort of thing that happens when you move your home folder. Not something I would ever recommend. I have only a limited amount of time to devote to the problem.

     

    Triple-click anywhere in the line below to select it:

     

    ls -AOeln ~/L*/Key*

     

    Copy the selected text to the Clipboard (command-C).

     

    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).

     

    Post any lines of output that appear below what you entered — the text, please, not a screenshot. If you get more than about ten lines, only post the first ten.

  • by Shantley,

    Shantley Shantley Mar 30, 2013 11:55 AM in response to Linc Davis
    Level 1 (0 points)
    Mar 30, 2013 11:55 AM in response to Linc Davis

    I really appreciate the time you've put in this so far. Way more than expected. Here are the lines that appeared:

     

    /Volumes/Home/username/Library/Keyboard Layouts:

     

     

    /Volumes/Home/username/Library/Keychains:

    total 501384

    -rw----rw-@ 1 501  20  hidden      6148 Sep 18  2010 .DS_Store

    -rw----rw-  1 501  20  -              0 Oct 17  2011 .fl0D1D1BA9

    -rw----rw-@ 1 501  20  -              0 Sep 17  2010 .fl62323D2F

    -rw----rw-  1 501  20  -              0 Apr 13  2012 .flA6A9AF81

    -rw----rw-  1 501  20  -          20460 Apr 13  2012 Microsoft_Intermediate_Certificates

    -rw----rw-@ 1 501  20  -      156038908 Mar 30 13:34 login.keychain

    -rw----rw-  1 501  20  -              0 Mar 19 10:59 login.keychain.sb-587d7466-IYCDhu

    -rw----rw-  1 501  20  -      100612812 Mar 27 09:26 login.keychain.sb-8f46f414-IJLYX0

    -rw----rw-  1 501  20  -              0 Mar 19 21:10 login.keychain.sb-8f5542d9-7qDOk7

    -rw----rw-  1 501  20  -              0 Mar 27 09:28 login.keychain.sb-b7ec106e-ttlvk5

    -rw----rw-  1 501  20  -              0 Mar 26 16:02 login.keychain.sb-ee45ab70-SYjz76

    -rw----rw-  1 501  20  -              0 Mar 27 09:03 login.keychain.sb-ee4a3c00-cFQu4o

    -rw----rw-  1 501  20  -          23148 Mar 29 19:15 metadata.keychain

  • by Linc Davis,

    Linc Davis Linc Davis Mar 30, 2013 12:04 PM in response to Shantley
    Level 10 (207,995 points)
    Applications
    Mar 30, 2013 12:04 PM in response to Shantley

    Back up all data.

     

    Enter the following command in the Terminal window in the same way as before:

     

    find ~/L*/Key* -name *keychain.sb-* -delete

     

    The command may take a noticeable amount of time to run. Wait for a new line ending in a dollar sign (“$”) to appear. You can then quit Terminal. Try again to launch Keychain Access.

  • by Shantley,

    Shantley Shantley Mar 30, 2013 12:14 PM in response to Linc Davis
    Level 1 (0 points)
    Mar 30, 2013 12:14 PM in response to Linc Davis

    I ran the command and it really didn't take any time at all to run. Was instant. Was I supposed to replace "name" with my username?

     

    The Keychain Access app still hangs.

     

    Is it time to create a new user account?

  • by Linc Davis,

    Linc Davis Linc Davis Mar 30, 2013 12:27 PM in response to Shantley
    Level 10 (207,995 points)
    Applications
    Mar 30, 2013 12:27 PM in response to Shantley

    Move everything from the Keychains folder to the Desktop and try again to launch the application. If it still hangs, put back the files you moved.

     

    I don't see the point of creating a new user account if you're going to move everything you have now into it. I'd expect the results to be the same as what you have now. With a non-standard configuration like yours, you're going to trigger all kinds of obscure bugs. What I would do in your place is to put my home folder back where it belongs, on a larger internal drive or a "fusion drive" if necessary. Yours is the wrong solution to the problem of inadequate storage space.

  • by Shantley,

    Shantley Shantley Mar 30, 2013 12:54 PM in response to Linc Davis
    Level 1 (0 points)
    Mar 30, 2013 12:54 PM in response to Linc Davis

    I assume you are referring to the Keychains folder in the user library, yes? I moved that out and it launched, but the lock you mentioned a few posts up was greyed out and it had "(read only)" next to it.

     

    I have enough room on my new SSD (the one with the home folder) to easily accommodate the system and apps. If I installed the OS and apps on that drive, and then ran the Reset permissions and ACLs available in recovery mode, do you think that would solve my problems?

  • by Linc Davis,

    Linc Davis Linc Davis Mar 30, 2013 1:18 PM in response to Shantley
    Level 10 (207,995 points)
    Applications
    Mar 30, 2013 1:18 PM in response to Shantley

    I don't know.

Previous Page 2 of 3 last Next