修改了keychain-2.db 之後app store 無法輸入密碼下載app

需求: 按照狗神的教学成功执行修改keychain-2.db的资料,但是之后app store 无法输入密码下载app。
还请大神告知该如何让app store 恢复正常可以输入密码下载,不知道改到哪个权限 QQ

日志:

Dec 29 11:42:41 iPhone locationd[105]: Gesture EnabledForTopCLient: 0, EnabledInDaemonSettings: 0
Dec 29 11:42:41 iPhone securityd[199]:  securityd_xpc_dictionary_handler accountsd[192] add The operation couldn’t be completed. (com.apple.utilities.sqlite3 error 8 - reset: [8] attempt to write a readonly database sql: BEGIN EXCLUSIVE)
Dec 29 11:42:41 iPhone accountsd[192]:  SecOSStatusWith error:[-25291] The operation couldn’t be completed. (com.apple.utilities.sqlite3 error 8 - Remote error : The operation couldn‚Äôt be completed. (com.apple.utilities.sqlite3 error 8 - reset: [8] attempt to write a readonly database sql: BEGIN EXCLUSIVE))

操作步骤: 执行修改keychain-2.db的程式码后(按照狗神深夜分享的sqlite程式码,无修改)
环境: ios8.1.2

是不是权限改掉了

大大所言极是,后来我重新思考,才发现我过去有一个解决方桉动过/keychains整个资料夹owner的权限变成root, 但原先是_securityd,改完后,就恢复正常囉!

If you accidentally modify this /var/keychains folder, remember go to Keychains folder:
1. Choose the this /Keychains foldr owner permission to original _securityd (I change to root…that’s why it broken!)
2. Swipe up “Apply hierarchically”!
3. Restart your phone, then everything should be fine!

1 个赞

哈喽,狗神的那篇文章呀?