Remove all sharing permissions from 1000s of files

564 views
Skip to first unread message

Stephen Pottage

unread,
Feb 1, 2017, 1:53:51 PM2/1/17
to GAM for G Suite
Good afternoon,

I apologize if this question has been asked (and answered) before - I promise I searched.

We have an account that houses a backup of drive files that are shared from 1000s of accounts.  Is there a GAM command you are aware of that will remove all sharing permissions from those files?  Essentially we move the files (transfer ownership) but then need to remove permission from the original owner.

Any help would be much appreciated.

Thanks in advance.

Stephen 

Ross Scroggs

unread,
Feb 1, 2017, 2:07:00 PM2/1/17
to google-ap...@googlegroups.com
Stephen,

Let me see if I have this right.
You've got a user oldo...@domain.com
You've got a user, drive...@domain.com
You want to:
a) strip all permissions from all files that drive...@domain.com owns
b) strip permissions for oldo...@domain.com from all files that drive...@domain.com owns

Ross

--
You received this message because you are subscribed to the Google Groups "GAM for G Suite" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-manager+unsub...@googlegroups.com.
To post to this group, send email to google-apps-manager@googlegroups.com.
Visit this group at https://groups.google.com/group/google-apps-manager.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/0dcd94f3-d6bd-49b7-866a-474dce5b64f1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--

Stephen Pottage

unread,
Feb 6, 2017, 1:55:54 PM2/6/17
to GAM for G Suite
Not quite.

We have a single account (oldo....@domain.com) that we copy all files from dri...@domain.com, dri...@domain.com, driv...@domain.com to every day at 4pm.  But a move only transfers ownership and the original owners (drive1, drive2 - drive1000) are left with edit access.  We want all permissions removed from drive1@domain - drive1000@domain so that they do not have access to those files any more.

We are using this for secured examinations.  Kids write their exam in one of the exam accounts (drive1 - drive1000) and then at the end of the day we want to remove and backup all of the exams but have a fresh drive ready to go for the next day for additional examinations.

Does that makes sense?

Thanks for the help.

On Wednesday, February 1, 2017 at 12:07:00 PM UTC-7, Ross Scroggs wrote:
Stephen,

Let me see if I have this right.
You've got a user oldo...@domain.com
You've got a user, drive...@domain.com
You want to:
a) strip all permissions from all files that drive...@domain.com owns
b) strip permissions for oldo...@domain.com from all files that drive...@domain.com owns

Ross
On Wed, Feb 1, 2017 at 10:52 AM, Stephen Pottage <stephen...@rdpsd.ab.ca> wrote:
Good afternoon,

I apologize if this question has been asked (and answered) before - I promise I searched.

We have an account that houses a backup of drive files that are shared from 1000s of accounts.  Is there a GAM command you are aware of that will remove all sharing permissions from those files?  Essentially we move the files (transfer ownership) but then need to remove permission from the original owner.

Any help would be much appreciated.

Thanks in advance.

Stephen 

--
You received this message because you are subscribed to the Google Groups "GAM for G Suite" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-manager+unsub...@googlegroups.com.
To post to this group, send email to google-ap...@googlegroups.com.



--
Reply all
Reply to author
Forward
0 new messages