Skip navigation

MDS Permissions issue with Keychain

459 Views 8 Replies Latest reply: Aug 6, 2012 3:50 AM by softwater RSS
D M K Level 1 Level 1 (0 points)
Currently Being Moderated
Aug 2, 2012 8:19 AM

I have found that Spotlight is trying to access my keychains constantly.  In the Application Monitor I see that mds and mdworker are popping up every few minutes.  In the Console log I see the following;


Mac-Mini-Bedroom.local sandboxd[1519] ([1517]): mdworker(1517) deny file-write-create /Users/jasonhudson/Library/Keychains/



I have repaired my Mac permissions and also repaired the keychain.  I have reset the ACL Permissions too but still get this error.  Can anyone please assist with this error?  I have 10.8 installed.



Mac Mini (Early 2009)/MacBook (Late 2008)Mac Mini (2010), Mac OS X (10.6.7), LED Cinema Display
  • Linc Davis Level 10 Level 10 (107,885 points)
    Currently Being Moderated
    Aug 2, 2012 12:26 PM (in response to D M K)

    Log messages are not a problem in themselves. What functional problem do you have?

  • Linc Davis Level 10 Level 10 (107,885 points)
    Currently Being Moderated
    Aug 2, 2012 1:54 PM (in response to D M K)

    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 page that opens.


    Drag or copy — do not type — the following line into the Terminal window, then press return:


    ls -Odel ~/Library/Keychains


    Post any lines of output that appear below what you entered — the text, please, not a screenshot.

  • Linc Davis Level 10 Level 10 (107,885 points)
    Currently Being Moderated
    Aug 2, 2012 2:31 PM (in response to D M K)

    The message isn't caused by misconfigured permissions or ACL's. It seems to be pretty widespread, although I don't get it myself. There isn't enough experience yet with 10.8 to say whether it's significant or not. If it really bothers you, the only thing I can suggest is to rebuild the Spotlight index of your home folder, which you can do by adding it to the Privacy list in the Spotlight preference pane, and then removing it. I don't know whether that action will have any effect.

  • swerty Calculating status...
    Currently Being Moderated
    Aug 6, 2012 3:45 AM (in response to Linc Davis)

    I have the same problem on my MBA 2010. I tried the terminal command you provided with slightly different result than D M K-


    drwx------  9 swerty  staff  - 306  6 srp 11:51 /Users/swerty/Library/Keychains


    - should I change permissions of that folder?


    this problem also prevents my macbook air from sleeping properly. The log is populated only with these mdworker login messages for the whole night!


    - rebuilded spotlight index- didnt help

  • softwater Level 5 Level 5 (5,370 points)
    Currently Being Moderated
    Aug 6, 2012 3:50 AM (in response to swerty)

    Have you got the hidden User Library in your favorites in Finder Sidebar, or did you change the chflags status to 'nohidden' at all?


More Like This

  • Retrieving data ...

Bookmarked By (2)


  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.