Sandboxing. I don't think the latest Apple operating systems allow the writing 
to the App Support folder, even if you have explicit write permissions. It's 
better if you put the file into her documents folder somewhere. To answer the 
question you are about to ask, it's likely that her old Mac OS was not current 
enough to have the sandboxing limitations, and so it worked. 

Bob S


> On May 12, 2022, at 10:10 , ludovic.thebault--- via use-livecode 
> <use-livecode@lists.runrev.com> wrote:
> 
> ‌
> 
> ‌
> 
> ‌
>  
> 
> Hello All,
> 
> I've made an macOS app for my sister that use an sqlite database located in 
> the application support folder (~/library/Application Support/myApp/base.db)
> 
> Since she replaced her old mac with an iMac M1, the app cannot write on the 
> database. I've checked the permissions on the folder and the sqlite file and 
> all seem ok.
> (-rwxr-xr-x for the database).
> 
> The app is not notarized, but at first launch (I recompiled the app with 
> Livecode 9.6.4), an alert to give permissions to the "document" folder is 
> displayed (and accepted).
> 
> What I miss ?
> 
> Thanks !
> _______________________________________________
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to