Managing ACL's

188 views
Skip to first unread message

caleb reinhardt

unread,
Jun 3, 2021, 5:06:16 PM6/3/21
to GAM for Google Workspace
I was reading in the GAM-X wiki regarding how to remove all ACL's except the owner from a file...but how would I do this for all files belonging a single user? 

Ross Scroggs

unread,
Jun 3, 2021, 5:15:38 PM6/3/21
to google-ap...@googlegroups.com
On Jun 3, 2021, at 2:06 PM, caleb reinhardt <caleb.r...@calloway.kyschools.us> wrote:

I was reading in the GAM-X wiki regarding how to remove all ACL's except the owner from a file...but how would I do this for all files belonging a single user? 

--
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/9c7786e4-6ec8-4d4b-9ca7-e7b4acd1517bn%40googlegroups.com.

caleb reinhardt

unread,
Jun 3, 2021, 5:24:10 PM6/3/21
to GAM for Google Workspace
Hi Ross,
That was the link I included in my OP...my hang up is that I'm unsure how to use that to recursively hit all files in a user's drive.  The wiki example shows how to get all the ACL's for a single file, but I'm needing to remove ACL's across all files in a drive.  

Admittedly, it's the end of a long day...the words on the screen are getting blurry...given the info from the wiki, how would I modify the first code snippet (used to get the ACL's from the file) in order to get ACL's for all the files? Because at that point I should just be able to pipe that CSV output into the second code snippet and it will strip out all permissions except for the owner, right?

Ross Scroggs

unread,
Jun 3, 2021, 5:30:42 PM6/3/21
to google-ap...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages