--
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/97ebf1c4-1a1e-4a72-8dc9-3a44c116ca3an%40googlegroups.com.
# Get user's owned files in My Drive that are shared, i.e., have an ACL other that owner
gam redirect csv ./UserSharedFilePerms.csv user us...@domain.com print filelist fields id,name,mimetype,basicpermissions filepath orderby folder descending pm not role owner em pmfilter oneitemperrow
# Inspect UserSharedFilePerms.csv, verify that it has what you want
# Delete the ACLs
gam redirect stdout ./DeleteUserSharedFilePerms.txt multiprocess redirect stderr stdout csv ./UserSharedFilePerms.csv gam user "~Owner" delete drivefileacl "~id" "id:~~permission.id~~"
# There may be some errors when deleting an ACL from a folder if the same ACL was deleted from the containing folder.
# These are expected.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/98b654ef-2086-41e9-929b-5abcedd23ffcn%40googlegroups.com.
On May 10, 2024, at 7:23 PM, 'Jesvin George' via GAM for Google Workspace <google-ap...@googlegroups.com> wrote:Thank you, Ross.I got the below error.ERROR: redirect is not a valid argument for "gam"
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/85d629a0-930e-4483-ad27-e12546d3b61fn%40googlegroups.com.
# Delete the ACLs
gam redirect stdout ./DeleteUserSharedFilePerms.txt multiprocess redirect stderr stdout csv ./UserSharedFilePerms.csv gam user "~Owner" delete drivefileacl "~id" "id:~~permission.id~~"
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/6ba767fa-5067-49aa-a2fe-d80f68cdcd38n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/077a3a76-80cb-48cf-8f5e-86161600fd1cn%40googlegroups.com.
You received this message because you are subscribed to a topic in the Google Groups "GAM for Google Workspace" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-apps-manager/7n12Ro0njQE/unsubscribe.
To unsubscribe from this group and all its topics, 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/4F384DEE-C434-41D4-A53F-637A5CC2F218%40gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/CANE3VmtaKdp_Ctn9OS%2BLWX5iz9TtzeOF1KCjFqto9BZvSCMcPw%40mail.gmail.com.