4

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.

2

Apps that have requested and been granted Security > Privacy permissions can be read via:

sudo sqlite3 /Library/Application\ Support/com.apple.TCC/TCC.db 'select * from access'

However, this does not specify which permissions were granted.

There's also:

defaults read ~/Library/Preferences/com.apple.universalaccessAuthWarning.plist

..but this will only indicate whether a given app was approved or denied.

Taccy is a small utility that will list which permissions an app will request, even if it has not been launched yet:

https://eclecticlight.co/taccy-signet-precize-alifix-utiutility-alisma/

  • thanks. The first command line I receive the following error message: Error: unable to open database "/Library/Application Support/com.apple.TCC/TCC.db": unable to open database file Instead the second command I do see one application listed but I know for sure I have more than one. – Fabio Viola Jun 21 at 18:40
  • sudo sqlite3 /Library/Application\ Support/com.apple.TCC/TCC.db 'select * from access' doesn't seem to work for me either. sudo ls "/Library/Application Support/com.apple.TCC" also gives ls: com.apple.TCC: Operation not permitted, thou the directory is definitely there – Igor Voltaic Jul 7 at 10:06
1

Fabio Viola use this command :

sudo sqlite3 "/Library/Application Support/com.apple.TCC/TCC.db" 'UPDATE access SET allowed = "1";'

1 is for granting access and 0 is for declining access. I hope this may work.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .