Unapproved Caller

I am recently updated OS X Mavericks and i was using just fine for about 2 weeks, recently i started to see issues and my loginwindow keep on crashing, When i try to open App Store it throws error " Unapproved Caller SecurityAgent may only be invoked by Apple Software" , it throws same error when i try to logout or restart my MBP.


Let me know if anyone has resolution to this problem.

MacBook Pro, OS X Mavericks (10.9)

Posted on Nov 25, 2013 7:10 AM

Reply
Question marked as Top-ranking reply

Posted on Mar 21, 2014 8:56 AM

The correct way to fix the "Unapproved Caller SecurityAgent may only be invoked by Apple Software" error is to delete the contents of the


/var/folders/ directory.


Most users experience this error when trying to have the system use elevated privileges like unlocking the System Preferences to make changes. This occurs on systems that have recently been upgraded to Mac OS 10.9 Mavericks.


The upgrade process fails to complete a specific task that is meant to remove cached files from that location. There is a Launch Daemon at "

/System/Library/LaunchDaemons/com.apple.bsd.dirhelper.plist " that is meant to remove the files from the /var/folders location every 3 days.


Removing the contents of this folder does not affect the system as they are only cached files. This will only need to be done once, then a RESTART of the system and the Unapproved Caller error will go away.

134 replies

Apr 15, 2014 7:58 AM in response to franlu

After Mavericks reinstallation didn't help, I decided to give rolling back to Mountain Lion a go... 36 hours later all is well still... if all stays the same it would appear that in fact it is Mavericks that may well be the issue.


Certainly in my case, this issiue did not appear until after upgrading to Mavericks

Jan 14, 2014 1:17 PM in response to tmodi

So finally my problem is fixed, Apple "Genius (Moron) Bar" could not figure out whether or not it is software or which part of hardware fault. I paid $300 at Apple store (since my MBP was out of warrenty) and they send it to Apple Remote work site, they changed logic board / battery / HDD. After all 2 visits to Apple store (which is 2 hours away from my locaton) my Macbook is working fine.


So if you guys have tried everything and do not know what to do here is the good option, it costs you but you will get it all working.

Apr 30, 2014 10:28 AM in response to Monya Virgil

Hello Monya,


I'm sorry to hear your seemingly more serious case.


I'd still suspect a software glitch, but it could be hardware related (hard disk) even though the Verify and repair process has turned out to be without any remarks.


This sounds like you really are stuck big time...


What kind of Mac is Sicky? Is it possible to remove the hard disk and perhaps try it as an additional disk in a desktop Mac (preferably not that old) or in an external hard disk tray?


I would try that and even though the disk might not appear on the host Mac, I would open Disk Utility to see if it's listed there. If at all the disk is spinning and alive.


Next I would try 3rd party disk programs... I can give you suggestions if that would appear to be helpfull.


Good luck, fingers crossed!

Apr 27, 2014 3:33 PM in response to selfishchildren

Hi folks!


I am having the same stuff going on, in a MBPro retina (1st ed.)


Thanks for posting, as I now feel confident that stuff in etc/var/folders (if I recall the path correctly)

is the culprit.


I was having disk space trouble, and manually removed the stuff in there. I have done that many times, but this time there was some odd behaviour. Dunno if it was the order I did it, in relationship to closing all apps...


Off course this happens when I am having a very important project on my dearest laptop, and off course I have... Yes! No backup. Sheesh, i feel so dumb.


So, tomorrow I will have an additional MacBook, and will buy a thunderbolt cable. I hope it is easy to find, as I recall mac shop folks not understanding what I was asking for, when I bought a Fw to FW cable :)


I might as well go to a mac shop, there's one just around the corner.


Is there anything special about getting to that folder trough disk target mode?

I hope it is just:


- Start fresh and happy mac

- Link sick mac with cable

- Start it in target mode

- do a option+shift+g and write the logical path:

"/Volumes/targetdisk/etc/var/folders/"


Is there anyone that can confirm/correct if I'm wrong, please?


Thanks! I'll post a update obviously!


FOR THE RECORD:


- I started in recovery mode a first time

- repaired the main volume's permitions, some small thing were fixed

- then I had it repair that volume... Strangely, it had stopped with an error, something like "the repair process has failed due to a process that has unexpectedly stopped".

- I restarted, redid the volume repairing in recovery mode: all fine

- Tried my luck by restarting normally, same error (main topic of this thread)

- Restarted, then re-repaired the volume: all fine (confirmation of confirmation)

- zapped the PRAM (could be silly in this context, I know)

- no luck!

- was happily surfing in recovery mode, and found this thread: an excellent feeling to have that possibility

A big high five to the man that got that idea!!!


Cheers!

Nov 23, 2014 7:19 AM in response to David-P

Well, it has now been 2 months since my Unaprroved Caller problem. I upgraded my Mac mini from 10.9.4 directly to Yosemite and am now on 10.10.1. Yesterday Safari quit unexpectedly, leaving an Unapproved Caller message on my screen. Since that happened I have been experiencing this weirdness:


o Apps won't start when clicked in the Dock

o Apps start after flashing a black screen

o Apps unexpectedly quit

o I use a password-protected screen saver and when I return to my Mac and type in my password instead of opening to the Desktop it opens to the Login screen

o All the items on my desktop seemed frozen... I could not move them

o much more that I can't remember


Usually I just reboot and try to continue. This is so frustrating. I wish Apple would read these forums and at least leave a note that they have read the issue.


So some people replaced the cable that connects the drive to the motherboard inside their laptops. I am using a Mac mini and I don't even use the internal drive. Instead, I boot from a 1TB SSD inside an external drive enclosure that is connected via a Thunderbolt cable.


And some people have tried deleting the cache files inside the /var/folders/ directory. Seems to be mixed results.


What I'm wondering is this... has anyone tried reinstalling OS X on a freshly formatted hard drive (without installing any apps or data) to see if the errors still occur? If there are no errors then it would seem the next step is NOT to run Migration Assistant or copy everything back onto the new drive. Instead, reinstall the apps (re-download and re-install), and then only copy over the home directory.


I haven't tried this, but if this Unapproved Caller thing continues to be a problem then that is what I'm tempted to try.


And yes, I would love to know what causes this to happen in the first place. Let's keep this thread going.

Aug 11, 2014 9:06 AM in response to tmodi

Hi! I'm having this same problem with my new rmbp 2014. Last night I tried to open google chrome, the dock icon jumped one time and then stopped jumping, the app never opened, I tried again a couple of times with the same result, went to force quit but there wasn't a instance of chrome running so I restarted and the problem was worse; everytime I opened a finder window, all the icons and file previews were gone (it only showed a dashed square) and the finder window and the window closes after a few seconds... restar again, and now "Unapproved Call


Repair permissions didn't worked, reseting power manager neither... sefe mode etc. Nothing worked so i'm now reinstaling Mavericks and see what happen. I hope I can get this fixed because my apple tech support store is 100 km away.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Unapproved Caller

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