Files stored in non-GoogleDrive folders are being deleted. The folders that are being affected are folders that have been included via the Finder context menu “Add to Insync”. (Not sure if the default behavior is to create an alias or symlink on OSX).
An example of one of the folders this issue is affecting…
Actual location of folder in question:
~/Music/
Location of alias/symlink within Google Drive folder:
~/Google Drive/Music
It also has affected folders whose alias/symlink entry moved, such as…
Actual location of folder:
~/Public/
Original location of alias/symlink:
~/Google Drive/Public/
NEW location, after I have moved it:
~/Google Drive/Shared/Public/
Now, it seems to be somewhat random in which files get deleted. It is not totally deleting the contents of a folder, but will delete entire contents of subfolders. As an example…
Within the folder (both locations shown below, actual followed by logical) every file has been deleted…
~/Music/Library/Tracks/
~/Google Drive/Music/Library/Tracks/
However, other subfolders are unaffected, such as this…
~/Music/Podcasts/
~/Google Drive/Music/Podcasts/
In regards to how the files are deleted, it is not deleting them individually, it deletes the top-level parent folder. Once they have been removed, I find an entry for the whole alias/symlink folder in Google Drive’s trash (on the web UI), which I can restore to recover my files, but it creates a new folder in my Google Drive. However, even though I find a copy of the top-level folder in Drive’s trash (“Music”), the local copy still exists on my machine ("~/Google Drive/Music/"), even with some of the files that have not (yet) been removed. The web UI will display it as having the same name, but the local version will appear with a “(2)” following the name – effectively creating a duplicate, though no data is actually duplicated. Instead, it will recreate the entire subfolder structure.
Additionally, this entire process appears to be able to start completely over, though I’m not sure of the trigger. Upon examining the web UI trash, I will actually find more than one copy of the symlink/alias’d folder. As an example…
When I restore the folders, I end up with several copies of the folder on my machine locally, such as:
~/Music/
~/Music (2)/
~/Music (3)/
Files that have been removed from the original alias/symlink folder can be found in either of the recovered folders. I have not noticed a pattern of which files are removed, it appears to be random.
I’ve experienced this issue a few times now, and both times the issue is accompanied by the “Can’t process *. - ‘NoneType’ object has no attribute ‘mtime’*” bug. In the client, I will see the list of errors grow into the thousands as this is occurring. Rebooting seems to quell this behavior temporarily, but the files still end up being removed.
Fortunately, it does not appear that any data is being permanently deleted.
I’ve been able to get the alias/symlink feature to work for short periods of time, both during times when the client has been in sync with the Google Drive’s servers, and when it is in the process of syncing data. It appears that housing files in non-GoogleDrive folder locations via alias/symlink is not a viable option at the moment. Any assistance you can lend me is appreciated.
Thank you.