tccutil icon indicating copy to clipboard operation
tccutil copied to clipboard

Authorization Denied

Open sharanvelu opened this issue 2 years ago • 6 comments

Screenshot 2021-11-22 at 17 51 26

I am getting authorization denied issues.

System : M1 Mac OS : MacOs 11.5.1 (20G80)

sharanvelu avatar Nov 22 '21 12:11 sharanvelu

Is SIP enabled? Also can you post the output of the --digest flag?

jacobsalmela avatar Nov 22 '21 12:11 jacobsalmela

Output of "--digest" flag.

Screenshot 2021-11-22 at 18 03 29

Yes SIP is enabled.

sharanvelu avatar Nov 22 '21 12:11 sharanvelu

My output of --digest doesn't give any errors, just a hex code. Though when I do sudo ./tccutil.py -i /usr/bin/osascript it says

Attempting to write a readonly database. You probably need to disable SIP.

matrunchyk avatar Jan 11 '22 01:01 matrunchyk

A hex code? It should print a short hash; is that what you meant? Also, what is it?

jacobsalmela avatar Jan 11 '22 02:01 jacobsalmela

Yes, this is the hash value: cef70648de

matrunchyk avatar Jan 12 '22 00:01 matrunchyk

I can't even view the extended attributes of the database file:

$ sudo xattr '/Library/Application Support/com.apple.TCC/TCC.db'
xattr: [Errno 1] Operation not permitted: '/Library/Application Support/com.apple.TCC/TCC.db'
$ ls -lO '/Library/Application Support/com.apple.TCC/TCC.db'
-rw-r--r--  1 root  wheel  restricted 69632 Apr  5 10:30 /Library/Application Support/com.apple.TCC/TCC.db

DanLipsitt avatar Apr 05 '22 18:04 DanLipsitt