Skip to content

Instantly share code, notes, and snippets.

@x1unix
Created October 6, 2024 11:08
Show Gist options
  • Save x1unix/26b536ab42bef729a6bb8c84a10dc39b to your computer and use it in GitHub Desktop.
Save x1unix/26b536ab42bef729a6bb8c84a10dc39b to your computer and use it in GitHub Desktop.
macos-app-reset-permissions

How to reset app privacy permissions on macOS

How to reset app privacy permissions on macOS

Guide

Heads-up: make sure System Integrity Protection (SIP) is enabled using csrutil status.

Heads-up: available privacy permissions are Accessibility, AddressBook, All, AppleEvents, Calendar, Camera, ContactsFull, ContactsLimited, Facebook, FileProviderDomain, FileProviderPresence, LinkedIn, Liverpool, Location, MediaLibrary, Microphone, Motion, Photos, PhotosAdd, PostEvent, Reminders, ScreenCapture, ShareKit, SinaWeibo, Siri, SpeechRecognition, SystemPolicyAllFiles, SystemPolicyDesktopFolder, SystemPolicyDeveloperFiles, SystemPolicyDocumentsFolder, SystemPolicyNetworkVolumes, SystemPolicyRemovableVolumes, SystemPolicySysAdminFiles, SystemPolicyDownloadsFolder, TencentWeibo, Twitter, Ubiquity, Willow.

Heads-up: “Location Services” is handled differently so tccutil has no effect.

Reset single privacy permission for single app

$ mdls -name kMDItemCFBundleIdentifier -r /Applications/Signal.app
org.whispersystems.signal-desktop

$ tccutil reset Camera org.whispersystems.signal-desktop
Successfully reset Camera approval status for org.whispersystems.signal-desktop

Successfully reset Camera approval status for org.whispersystems.signal-desktop

👍

Reset all privacy permissions for single app

$ mdls -name kMDItemCFBundleIdentifier -r /Applications/Signal.app
org.whispersystems.signal-desktop

$ tccutil reset All org.whispersystems.signal-desktop
Successfully reset All approval status for org.whispersystems.signal-desktop

Successfully reset All approval status for org.whispersystems.signal-desktop

👍

Reset single privacy permission for all apps

$ tccutil reset Camera
Successfully reset Camera

Successfully reset Camera

👍

Reset all privacy permissions for all apps

$ tccutil reset All
Successfully reset All

Successfully reset All

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment