Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Update drivefileacl (gam-adv)

69 views
Skip to first unread message

Ferhat Surucu

unread,
Aug 22, 2024, 3:04:30 PM8/22/24
to GAM for Google Workspace
 gam user john.doe@com update drivefileacl 1xyzAbc123456 bettle.juice@com role owner 

Folder ID > 1xyzAbc123456

How can we ensure all sub-folder & files also updated to new owner > bettle juice ?

(nice to keep existing share permissions but just update owner)

Thanks


Ross Scroggs

unread,
Aug 22, 2024, 3:16:33 PM8/22/24
to google-ap...@googlegroups.com
Is this a My Drive folder? Who owns the folder now?

Send me a Meet/Zoom invitation so I can be clear on what you're trying to accomplist

Ross

--
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/d0664fd3-075b-4a1d-b5cf-c1a44422e4ccn%40googlegroups.com.


--

Ferhat Surucu

unread,
Aug 22, 2024, 3:23:10 PM8/22/24
to GAM for Google Workspace
It is my drive folder, I was able to update owner as bettle.juice

but all sub-files still john.doe as owner

Ross Scroggs

unread,
Aug 22, 2024, 3:32:32 PM8/22/24
to google-ap...@googlegroups.com
There are two approaches based on what you want to do:
This transfers the files from the source user's My Drive to the target user's My Drive

This leaves the files in place after the ownership transfer.

Send me a Meet/Zoom invitation so we can make sure the result is what yiu want.

Ross



--

Ferhat Surucu

unread,
Aug 22, 2024, 6:21:58 PM8/22/24
to GAM for Google Workspace
Hi Ross,

See the syntax, it keep fails on retainrole <<<none>>

gam redirect stdout C:\GAMWork\transfer.text redirect stderr stdout user john.doe@com transfer drive bettle.juice@.com select 1oNRWCZC-nl0uhtHkhgDwANuWWLqABCXYZ targetfolderid root targetuserfoldername "" retainrole none nonowner_retainrole none nonowner_targetrole source preview

ERROR: Invalid argument

Ross Scroggs

unread,
Aug 22, 2024, 7:40:33 PM8/22/24
to google-ap...@googlegroups.com
What is: gam version

Send mea Meet/Zoom invitation.

Ross



--
Reply all
Reply to author
Forward
0 new messages