Error: unable to open database "~/Library/Messages/chat.db": authorization denied #621
Answered
by
0ui
wojciech-kulik
asked this question in
Q&A
-
I'm trying to run this script within sketchybar to get the number of unread Messages: sqlite3 ~/Library/Messages/chat.db "SELECT COUNT(guid) FROM message WHERE NOT(is_read) AND NOT(is_from_me) AND text !=''" However, I get this error:
It works when I run it manually. When I print |
Beta Was this translation helpful? Give feedback.
Answered by
0ui
Nov 3, 2024
Replies: 1 comment
-
I think it might require giving full disk access permission to sketchybar |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
wojciech-kulik
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think it might require giving full disk access permission to sketchybar
https://stackoverflow.com/a/54203029