Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I reset Contact access permission, so OS X will ask again?

I know I can turn on and off permission in System Preferences -> Security & Privacy -> Privacy -> Contacts, but what I want to do is force OS X to ask for permission again. This is for testing purposes... I.e. I maybe have a bug that gets triggered when the permission request dialog is shown.

Any ideas where the "asked" flag is being stored, so I can blow it away? I've checked in ~/Library/Application Support/AddressBook/ and a bunch of other obvious places.

like image 839
Kenny Winker Avatar asked Aug 11 '12 03:08

Kenny Winker


People also ask

How do I fix permissions denied on Mac?

If you don't have permission to open a file or folder, you may be able to change the permissions settings. On your Mac, select the item, then choose File > Get Info, or press Command-I. Click the arrow next to Sharing & Permissions to expand the section.

How do I disable grant access on Mac?

To review app permissions—for example, if you later decide to give a denied app access to your Mac—choose Apple menu > System Settings, click Privacy & Security in the sidebar, then click Accessibility on the right. (You may need to scroll down.) Turn permission on or off for any app in the list.

How do I grant an app permission on Mac?

To change application permissions on a mac, click the Apple icon → Click "System Preferences" → Click "Security & Privacy" → Click "Privacy" → Click on a service → Click the check box to add or remove an app's permission to the selected service.


2 Answers

Just needed to do this myself...on the command line do:

tccutil reset AddressBook

like image 191
Nick Hingston Avatar answered Oct 31 '22 07:10

Nick Hingston


Solution is Go to General - Reset - Reset Location & Privacy.

like image 21
Vsevolod Kukhelny Avatar answered Oct 31 '22 06:10

Vsevolod Kukhelny