tccutil
tccutil copied to clipboard
Authorization Denied
![Screenshot 2021-11-22 at 17 51 26](https://user-images.githubusercontent.com/46478367/142861035-8b570e28-0976-4034-9789-66980b24e9fe.png)
I am getting authorization denied issues.
System : M1 Mac OS : MacOs 11.5.1 (20G80)
Is SIP enabled? Also can you post the output of the --digest
flag?
Output of "--digest" flag.
![Screenshot 2021-11-22 at 18 03 29](https://user-images.githubusercontent.com/46478367/142862480-ccffdeb3-9586-4d8c-b1db-cb10bbe4db9c.png)
Yes SIP is enabled.
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.
A hex code? It should print a short hash; is that what you meant? Also, what is it?
Yes, this is the hash value: cef70648de
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