-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OperationalError: attempt to write a readonly database after the latest OSX 10.12 update (Beta) #48
Comments
Hello Igor: Sorry for the late response, thanks for the email. We will investigate the issue and get back to you on status.
Thanks: Richard Glaser |
Has a fix for this been found? |
Not necessarily a fix, so much as a work-around:
After performing one of these 2 steps, privacy_services_manager.py will continue to work normally (although if you follow step 2, it will be reverted back to SIP protection after an OS upgrade) I've been trying to get some documentation in place as well as a workflow that will make this more explicit, but other tasks have stalled my progress on this. |
Ok yeah that makes sense. Thanks for the reply! That’s frustrating for sure but helps us move forward. Thanks again!
- Phil
… On Nov 3, 2017, at 4:48 PM, Sam Forester ***@***.***> wrote:
Not necessarily a fix, so much as a work-around:
Since macOS 10.12, /Library/Application Support/com.apple.TCC/TCC.db is protected by SIP, so no modifications can be made to the file using privacy_services_manger unless 1 of 2 things occur:
Disable SIP
Boot to the Recovery Partition and run rm -rf /Volumes/Macintosh\ HD/Library/Application\ Support/com.apple.TCC
After performing one of these 2 steps, privacy_services_manager.py will continue to work normally (although if you follow step 2, it will be reverted back to SIP protection after an OS upgrade)
I've been trying to get some documentation in place as well as a workflow that will make this more explicit, but other tasks have stalled my progress on this.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub <#48 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/Af0AD4IwIJ7j7niYzJIcIFj6nOsCi-QJks5sy4oSgaJpZM4J2Pim>.
|
privacy_services_manager.py add accessibility /Applications/myApp.app
INFO: ################################################################################
Privacy Services Manager, version 1.6.10
INFO: Set to modify global permissions for all users at '/Library/Application Support/com.apple.TCC/TCC.db'.
INFO: Inserting 'com.myApp.myApp' in service 'accessibility'...
ERROR: OperationalError: attempt to write a readonly database
The text was updated successfully, but these errors were encountered: