Posts

Post not yet marked as solved
0 Replies
436 Views
Apple mail was already running in a sandbox in previous version of macOS. Since Catalina it seems that apple script itself is in a more restrictive sandbox and all our current scripts fail.My mail app executes a apple script for mail handling, that apple script executes the sqlite3 executable correctly to retrieve and store data, this worked before Cataline.Since Catalina it seems that the stackMail -> Apple Script -> sqlite3 (via shell script command) isn't allowed to access our database file anymore.Error:Sandbox: sqlite3(2826) System Policy: deny(1) file-read-data /Users/xxxxxx/Documents/Folder/database.sqlite It seems the script is being executed using com.apple.foundation.UserScriptService.Where should I move the sqlite database file so the sqlite3 binary is allowed to access it? We can move the database file to any location the sandbox is allowed to access the required database file
Posted Last updated
.