Skip to main content
coreydaley.dev
Docs menu

When a Mac keeps asking for permission, or never asks

Most permission problems on a Mac come down to one of four things: macOS thinks it’s a different app, the app never asked, the answer is attributed to a different app than you expect, or an old Don’t Allow is still in force.

It keeps asking

The app looks new to macOS each time. macOS ties your answer to the app’s code signature. Apps that aren’t properly signed, including some self-built and open-source tools, can look like a brand-new app after each update, so the prompt comes back. An Apple engineer explains this for “ad hoc” signed code.

The app needs to restart. Some permissions, such as Full Disk Access and Screen Recording, only take effect after the app quits and reopens; System Settings offers Quit & Reopen or Later when you change them.

It never asks, and it isn’t in the list

It never asked. Automation, Files & Folders, Camera and Microphone only list apps that have requested access, and have no button to add one.

It can’t ask. Full Disk Access and Developer Tools have no prompt at all; add the app with + in that row of Privacy & Security. Accessibility, Input Monitoring and Screen Recording show an alert that opens System Settings, and nothing is granted until you turn the app on there.

You said no before. After a Don’t Allow, macOS doesn’t ask again; the request just fails. In my test, the app I’d denied got “Operation not permitted”. A script that’s been refused Automation fails with “Not authorized to send Apple events to …” (error -1743). Turn the permission on in Privacy & Security, or reset it (below).

Terminal is the one asking

When you run a command or script from Terminal, macOS asks on behalf of Terminal, not the command, and the answer is stored under Terminal. The same goes for iTerm, Visual Studio Code or any other app you run commands from. So to fix a script that was refused control of Finder, look under Automation > Terminal > Finder. And anything you grant Terminal, every command run in Terminal gets.

Reset a decision

To make macOS forget an answer and ask again next time, use tccutil in Terminal. Per its manual page, reset clears “all decisions for the specified service”, for one app if you give its bundle ID:

tccutil reset AppleEvents com.apple.Terminal     # Automation, for Terminal only
tccutil reset SystemPolicyDesktopFolder          # Desktop access, for every app
Privacy & Security rowService name for tccutil
AutomationAppleEvents
Files & FoldersSystemPolicyDesktopFolder, SystemPolicyDocumentsFolder, SystemPolicyDownloadsFolder, SystemPolicyRemovableVolumes, SystemPolicyNetworkVolumes
Full Disk AccessSystemPolicyAllFiles
AccessibilityAccessibility
Input MonitoringListenEvent
Screen RecordingScreenCapture
Camera, MicrophoneCamera, Microphone
Contacts, Calendars, Reminders, PhotosAddressBook, Calendar, Reminders, Photos

The names come from macOS 27.2’s own privacy service list; I didn’t run a reset for this guide. Find an app’s bundle ID with mdls -name kMDItemCFBundleIdentifier /Applications/AppName.app. Location Services and Local Network aren’t in that list; change them in System Settings.