It is not a good idea to use a SQLite database, for write access, on a CIFS share. Understood.
I have a need to do so on a very infrequent basis. The database is written very infrequently on the Windows server (Actually windows 10, and like once ever few weeks) and equally infrequently from the Linux (Ubuntu 16.04.02 if it matters) server. The chances of simultaneous writes is near zero (which is not zero of course).
As I understand it (and I am not sure I do) using the "nobrl" option on the mount allows this to work (and indeed it does work for me), but does so by disabling locking entirely (right? Unless there are other types?).
Is there a technique, without deploying code on the Windows side, to ensure that this is in fact safe -- options for SQLite for example, that might not be the default. Locking the entire database is perfectly acceptable during the update on the ubuntu side, performance is not an issue, and simultaneous access is not required. The main restriction is I cannot change the process on the windows side.