I created a Google document.
I sync it locally to an ODT file.
Whenever I open and edit the ODT file, and save it, Insync synchronizes it do GDrive (and succeeds), but then another synchronization is started which ends up with Permission denied error. And a .insyncdl file is created. When I close Libreoffice with the document and retry syncing, sync succeeds.
I just want to note that the Google doc hasn’t been edited by anyone else in the meantime, so there is no need to re-download it from GDrive and try to replace the local ODT.
Using Insync 1.2.3