srosro / deepspring-shellmate

MIT License
102 stars 7 forks source link

Unable to open TCC database #70

Closed wooster closed 4 months ago

wooster commented 4 months ago

In Utils.swift there is a method to check if accessibility is granted to the Terminal. It relies on opening a SQLite database at:

/Library/Application Support/com.apple.TCC/TCC.db

On my system it is not accessible to be opened by the user, as the default permissions are:

% ls -l "/Library/Application Support/com.apple.TCC/TCC.db"
-rw-r--r--  1 root  wheel  69632 Jun 27 18:25 /Library/Application Support/com.apple.TCC/TCC.db

We likely need to find a different way to do this.

delattre1 commented 4 months ago

Closed #70 as SM no longer requires terminal accessibility.