Comments (8)
I have not had this issue. Do you have an example of what was expected, what was encountered, and which screen or view in Google you are viewing this on?
from google-drive-recursive-ownership.
I was expecting 3 root folders in the account I was transferring the files.
But it appears your script is "symlink" them in the web interface, and the subfolders of the root folders also appear on the web interface as another root folders. The files inside also appear without being inside any folder.
My files are encrypted so that's why they are like this.
But there should be only 3 folders here after changing the ownership. If I select a file or folder you'll see they appear to have multiple locations. I found that this is mostly a "visual" issue as the original folder structure is still preserved but it's like it was created symlinks of it in other places.
from google-drive-recursive-ownership.
There are no strict hierarchies or symlinks in Google Drive. There is only the multi-hierarchy of folders and files/objects. A file in two folders is equally in both. To my knowledge, the script only shares and changes ownership of folders, files, and objects in Drive. It does not intentionally move anything, nor can it control the layout experienced by the new owner.
It's probably possible to extend the script to save the original hierarchy and then apply it to the new owner's account, but the account giving away ownership can't do that on its own.
from google-drive-recursive-ownership.
But why do you think this happening? They aren't like that in the account I'm transferring.
from google-drive-recursive-ownership.
Google is probably throwing newly owned items into the root of the new owner's Drive, though they should also appear in the original shared folders as well.
from google-drive-recursive-ownership.
Is there anything we can do? With encrypted files this can be a pain?
from google-drive-recursive-ownership.
Nothing to do with encrypted files. My only suggestion is export of the original hierarchy followed by restoration (via API) in the new owner's account. You could also try moving the items to a Team Drive and then from one; I believe that will coerce ownership.
from google-drive-recursive-ownership.
I was saying that with encrypted files it's a hassle to use the webUI to organize them. However I found a workaround.
You need to share the folder file and move it to where you want to be, then you use the script to change recursively the files
from google-drive-recursive-ownership.
Related Issues (20)
- Repository contains an example key that end-users should replace HOT 4
- Only recurses 1 level HOT 3
- Support UTF-8 filenames/folders HOT 6
- Anyone can tell me what is going on here? HOT 1
- invalid_clientUnauthorized HOT 1
- Getting "Insufficient permissions for this file" - what is correct way to create client_secrets.json? HOT 2
- Google drive api v3 HOT 1
- Error 400: redirect_uri_mismatch HOT 3
- Installation HOT 1
- Noob Needs Help HOT 1
- Use with G Suite Basic? HOT 1
- Great Tool but HOT 1
- Google Shared Folders HOT 3
- Path treverse issue?
- Error 400: Invalid request HOT 3
- Error : Consent is required to transfer ownership of a file to another user. HOT 8
- hundreds of thousands of files...
- wildcard?
- Script no longer works? HOT 1
- OOB authentication method deprecated HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from google-drive-recursive-ownership.