I have a very large and complex directory structure in Linux (Mint xfce 17.3) that’s synced with Drive. I’m running headless.
At some point I lost a critical folder named ‘software’ on Drive. I’ve restored the folder locally, but Insync won’t recreate it in Drive - complains about ‘Insufficient permissions’, though owner, group, and permissions are the same as everything else. I tried renaming it to ‘code’ with no success. Here are the current errors:
Can’t upload tools - parent folder software not found on Drive
Can’t upload diffs - parent folder software not found on Drive
Can’t process code - Insufficient permissions for this file
Tried force_sync for the ‘code’ folder as well as a file in the folder - no joy.
I can see the files in Drive that are in the missing folder if I search for them by name. They have no parent folder, so they don’t appear in ‘My Drive’, but they do show up in search results. Using App Script I can put them in a folder, but there are thousands of them - not practical.
How do I resolve this?