When files are stored locally in Google Drive, and sync is turned on, problems can occur when compiling a TeX file.
For example, using Texmaker with MiKTeX on Windows 10 to build
Thesis.tex, I get the following error when building using
SyncTeX: Can't remove Thesis.synctex.gz (file is open or read only)
Is there a TeX-based solution to this problem that maintains sync functionality?