Cannot move or take ownership of a user file

47 views
Skip to first unread message

Admin@K-12-School

unread,
Aug 10, 2023, 10:09:56 AM8/10/23
to GAM for Google Workspace
Hello, I am attempting to move or take ownership of a file which is saved into a user's mydrive.

Attempted:

gam user mike move drivefile xxxxxx parentid zzzzzz

output:

User: mike, Move 1 Drive File/Folder
User: mike, Drive File Not Moved: parentid: zzzzzz, Does not exist


Or

gam user mike  update drivefileacl zzzzzz admin role owner   

Output:

User: mike, Update 1 Drive File/Folder ACL
  User: mike, Drive File/Folder ID: zzzzzzz, Permission ID: a-number-here, Does not exist

Both file and folder do exist, I can open both from the UI

Ross Scroggs

unread,
Aug 10, 2023, 2:15:12 PM8/10/23
to google-ap...@googlegroups.com
Send me a Meet/Zoom invitation and I'll help.

Ross

 
Le informazioni contenute in questo messaggio e negli eventuali allegati possono essere di natura riservata e confidenziale. Qualora non ne siate il legittimo destinatario, vi è fatto divieto di utilizzare, copiare, divulgare o intraprendere qualsiasi azione basata su questo messaggio, sui suoi allegati o sulle informazioni in essi contenute. Se avete ricevuto questo messaggio per errore, Vi preghiamo di comunicare immediatamente al mittente l'accaduto e di cancellare il messaggio e i suoi eventuali allegati. Le dichiarazioni contenute nel presente messaggio nonché nei suoi eventuali allegati non riflettono necessariamente la volontà di Casa della Ghianda srl, che non si impegna e si dissocia da qualsiasi contenuto che sia in contrasto con l'attività svolta da Casa della Ghianda srl, che sia lesivo o in contrasto con le proprie linee guida.
..................
 
The information contained in this electronic message and any attachments is intended for specific individuals or entities, and may be confidential, proprietary or privileged. If you are not the intended recipient, please notify the sender immediately, delete this message and do not disclose, distribute or copy it to any third party or otherwise use this message. The content of this message does not necessarily reflect the official position of Casa della Ghianda srl, that will not be  responsible for any actions, statements made or opinions expressed that are not strictly related to Casa della Ghianda srl activities, or in contrast with its guidelines.

--
You received this message because you are subscribed to the Google Groups "GAM for Google Workspace" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/d4186032-ad9d-48d8-aeeb-0d1f4c65a879n%40googlegroups.com.


--

Brandon Dieterich

unread,
Aug 10, 2023, 3:02:43 PM8/10/23
to GAM for Google Workspace
I don't think you can use "update drivefileacl" since the user you want to update is not already part of that file's permissions.  If you want another user to become the owner, you have to use "gam user user add drivefileacl fileid user newowner role owner". 
Reply all
Reply to author
Forward
0 new messages