Is there a Terminal command to view a list of all macOS that are authorized and unauthorized but have asked for Full Access?
I am looking for the list that is displayed under System Preferences → Security & Privacy → Privacy → Full Disk Access, but via command-line.
Best Answer
The sqlite queries mentioned DO work, e.g.:
The trick, however, is that you need full-disk access to access that SQLite database, so depending on where you're trying to do this, it's a chicken-and-egg problem. For just testing purposes, you can give your terminal full-disk access, then you'll be able to run the command.