I had installed headless-sync on my server yesterday on debian (jessie), version: 1.2.17.35187. I had started insync-headless then, added two accounts and started syncing. Checking the sync status showed, as expected, downloading several files. Today, about 24 hours later, i wanted to check the status again and was surprised that downloading was still in progress with >1,000 files in queue. While checking local files some folders suddenly disappeared.
After that I checked the situation on drive.google.com. The result was shocking: the folders also disappeared in google drive! And more: insync added shares to private files! Suddenly a big bunch of files were accessable to users that had not any permissions to read/write those files before.
What I found out so far: the ‘disappeared’ files and folders have been stored in .insync-trash. I have now moved those files to the root directory, so they are being uploaded back to google drive now. In google drive, the ‘disappeared’ files can be found via search, but they are not in any folder (orphaned files). Using a webapp I managed to put them into a temporary folder. Using another webapp I managed to revoke the permissions that had beed granted by mistake.
A terrible disaster. Until I managed to revoke permissions a few hundred private files had been accessable by other persons. And I have now really A LOT OF WORK to restore the files. Any idea why this happened?