Cannot write into sqlite db because "attempt to write to a readonly database" in macOS

    Apr 22 2021 | 2:54 pm
    A student of mine is building a patcher to handle a sqlite database. The database is accessed over some Javascript code.
    The patcher has functioned correctly until now but the database was automatically created in Max's folder. We have modified the patch to use its own path and create the database in the very same folder. It seems to function on one computer (under Windows 10) but on another one (running macOS) we get this error message when we try to add columns to the database: "sqlite_exec: (attempt to write to a readonly database)".
    So I guess it's something related to macOS in a way or another. Any idea what it might be?
    Thank you in advance.