Retrieving Files Shared with Google Groups

30 views
Skip to first unread message

Tim Delier

unread,
Nov 14, 2024, 1:18:03 PM11/14/24
to google-ap...@googlegroups.com
Hi all,

I’m in the process of cleaning up some older, user-created Google Groups, and I’ve encountered an issue. I’ve noticed that when I share a file with a group and then delete the group, the file’s ACL shows the group as "Deleted," but it doesn’t expand the permissions to include the individual users. As a result, those users lose access to the file.

My question is: Is there an easy way to get a list of files a group has access to using the group’s email address or ID? I searched the group but didn’t find anything that seemed to apply, so I apologize if this has been addressed already.

Thanks in advance for your help!

Best,
Tim Delier

Ross Scroggs

unread,
Nov 14, 2024, 2:22:41 PM11/14/24
to google-ap...@googlegroups.com
Tim,

You have to come at this from the file owner's perspective; what files have I shared to groups?

For a single user:
gam redirect csv ./GroupShares.csv user us...@domain.com print filelist fields id,name,mimetype,basicpermissions pm type group em pmfilter oneitemperrow

For all users:
gam config auto_batch_min 1 num_threads 10 redirect csv ./GroupShares.csv multiprocess redirect stdout - multiprocess redirect stderr stdout all users print filelist fields id,name,mimetype,basicpermissions pm type group em pmfilter oneitemperrow

Ross
----
Ross Scroggs



--
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 visit https://groups.google.com/d/msgid/google-apps-manager/CA%2B4dk8qOEDOqim%3Da9o-uL9hTGqjQdJ9UUN7iBLwKHiHpZgu6Qg%40mail.gmail.com.

Tim Delier

unread,
Nov 14, 2024, 4:28:21 PM11/14/24
to GAM for Google Workspace
Perfect, this is exactly what I was looking for. Thanks, Ross!
Reply all
Reply to author
Forward
0 new messages