Closed lazypenguin69 closed 4 years ago
lazypenguin69,
You aren/t specifying the file you want to update, see:
https://github.com/jay0lee/GAM/wiki/GoogleDriveManagement#updating-permissions-to-a-filefolder-for-a-user
Incorrect: gam user user@domain.com update drivefileacl me@domain.com role
owner
Correct: gam user user@domain.com update drivefileacl
Ross
On Fri, Jul 6, 2018 at 10:14 AM lazypenguin69 notifications@github.com wrote:
I have upgraded to the latest GAM release from https://git.io/gamreleases and I still have this issue. I am typing the command as described in the GAM Wiki at https://github.com/jay0lee/gam/wiki
Full steps to reproduce the issue:
- Configure and authorize GAM for my domain and then run the following command:
- gam user user@domain.com update drivefileacl me@domain.com role owner
- ERROR: 404: File not found: . - notFound
Expected outcome (what are you trying to do?): Transfer ownership for a file where user@domain.com is the owner and me@domain.com (a GAM and G-Suite admin) has view access, so that I can delete it.
Actual outcome (what errors or bad behavior do you see instead?): I get the following error: ERROR: 404: File not found: . - notFound
I have also tried gam user user@domain.com add drivefileacl user me@domain.com role writer withlink
But I get the following error: ERROR: 403: The allowFileDiscovery field is only applicable for permissions of type 'domain' or 'anyone'. - forbidden
I have seen this link
455 https://github.com/jay0lee/GAM/issues/455 in order to learn that i
have to do it without 'transferownership true' but I still get this error.
Is it just not possible in GAM to manipulate the permissions of a file inside my domain if it does not have a 'domain' or 'anyone' link sharing permission?
Slightly unrelated to the main issue but I think this is noteworthy, I have also tried deleting this file ID in GAM but GAM will give me the following errors: gam user user@domain.com delete drivefile purge purging for user@domain.com (1/1)
ERROR: 404: File not found: - notFound
If I run that same command but without purge on the end, I get this:
ERROR: 403: Insufficient permissions for this file - forbidden
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jay0lee/GAM/issues/754, or mute the thread https://github.com/notifications/unsubscribe-auth/AIU8LwjK-keidSzwvgYFQON5LbaexDhUks5uD5r9gaJpZM4VFxsl .
-- Ross Scroggs ross.scroggs@gmail.com
Thank you for such a fast response,
Apologies I did use the drive file id, I failed to have [drivefileid] in the command that I pasted when creating this request, it seems to be disappearing for me when I use the > <, so thats why drivefileid is missing from all the commands I said I was using in the original post (https://gyazo.com/50d68240e4427dd71cf2c522d83d6730), so I will switch to square brackets . Nevertheless I just ran your correct suggestion again and here is the result:
gam user user@domain.com update drivefileacl [DriveFileID] me@domain.com role owner
updating permissions for [numbers] to file [DriveFileID]
ERROR: 404: File not found: [DriveFileID]. - notFound
(I censored numbers, it is 20 digits long, I can provide it if needed)
However this file exists as I am viewing it in Google Drive. however i cannot share it in Google drive so I am trying to do it in GAM but still getting this error.
Do: gam user user@domain.com show fileinfo
Ross
On Fri, Jul 6, 2018 at 10:38 AM lazypenguin69 notifications@github.com wrote:
Thank you for such a fast response,
Apologies I did use the drive file id, I failed to have in the command that I pasted when creating this request. Nevertheless I just ran your correct suggestion again and here is the result:
**gam user user@domain.com update drivefileacl me@domain.com role owner
updating permissions for to file
ERROR: 404: File not found: . - notFound**
(I censored , it is 20 digits long, I can provide it if needed)
However this file exists as I am viewing it in Google Drive. however i cannot share it in Google drive so I am trying to do it in GAM but still getting this error.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/jay0lee/GAM/issues/754#issuecomment-403100924, or mute the thread https://github.com/notifications/unsubscribe-auth/AIU8L8W5nNq_xAbUrVBnNBi9BdIDdG6Lks5uD6CagaJpZM4VFxsl .
-- Ross Scroggs ross.scroggs@gmail.com
gam user user@domain.com show fileinfo [DriveFileID]
ERROR: 404: File not found: [DriveFileID] - notFound
gam user user@domain.com show fileinfo [DriveFileID]
ERROR: 404: File not found: [DriveFileID] - notFound This indicates that user@domain.com has no access to [DriveFileID]
You need to find out who the owner is.
Ross
On Fri, Jul 6, 2018 at 12:01 PM lazypenguin69 notifications@github.com wrote:
gam user user@domain.com show fileinfo [DriveFileID]
ERROR: 404: File not found: [DriveFileID] - notFound
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/jay0lee/GAM/issues/754#issuecomment-403120369, or mute the thread https://github.com/notifications/unsubscribe-auth/AIU8L0cFNlL_OO-sR4TkPtR_r_MORhhcks5uD7QUgaJpZM4VFxsl .
-- Ross Scroggs ross.scroggs@gmail.com
As I have mentioned I know who the owner is as I am trying to transfer ownership from that person, and I know that the file exists in their Google Drive, the same file shows in Google Vault and this user shared the file with me. GAM is just unable to do anything with the file for some reason.
Let's figure this out offline, send me a private email.
Ross
On Fri, Jul 6, 2018 at 1:04 PM lazypenguin69 notifications@github.com wrote:
As I have mentioned I know who the owner is as I am trying to transfer ownership from that person, and I know that the file exists in their Google Drive, the same file shows in Google Vault and this user shared the file with me. GAM is just unable to do anything with the file for some reason.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/jay0lee/GAM/issues/754#issuecomment-403133299, or mute the thread https://github.com/notifications/unsubscribe-auth/AIU8L7Pgzh7hRNU4E_UK2D4cIzrA8Ypsks5uD8LmgaJpZM4VFxsl .
-- Ross Scroggs ross.scroggs@gmail.com
Go here: https://developers.google.com/drive/api/v2/reference/files/get Login as user@domain.com Paste DriveFileID into fileId field Click execute
What happens?
On Fri, Jul 6, 2018 at 1:09 PM Ross Scroggs ross.scroggs@gmail.com wrote:
Let's figure this out offline, send me a private email.
Ross
On Fri, Jul 6, 2018 at 1:04 PM lazypenguin69 notifications@github.com wrote:
As I have mentioned I know who the owner is as I am trying to transfer ownership from that person, and I know that the file exists in their Google Drive, the same file shows in Google Vault and this user shared the file with me. GAM is just unable to do anything with the file for some reason.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/jay0lee/GAM/issues/754#issuecomment-403133299, or mute the thread https://github.com/notifications/unsubscribe-auth/AIU8L7Pgzh7hRNU4E_UK2D4cIzrA8Ypsks5uD8LmgaJpZM4VFxsl .
-- Ross Scroggs ross.scroggs@gmail.com
-- Ross Scroggs ross.scroggs@gmail.com
I am doing this logged in as myself , the administrator. Same error 404, file not found - even though it exists.
Unfortunately the last resort is to log in as the user and manually transfer ownership if gam cannot do it, however I can't login as the user we have a 2 step verification enforcement policy i would prefer not to disable that and change the user's password just to sign in as them :)
Again,
Please send me a private email so I can send you some contact information.
Ross
On Fri, Jul 6, 2018 at 3:02 PM lazypenguin69 notifications@github.com wrote:
I am doing this logged in as myself , the administrator. Same error 404, file not found - even though it exists.
Unfortunately the last resort is to log in as the user and manually transfer ownership if gam cannot do it, however I can't login as the user we have a 2 step verification enforcement policy i would prefer not to disable that and change the user's password just to sign in as them :)
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/jay0lee/GAM/issues/754#issuecomment-403157831, or mute the thread https://github.com/notifications/unsubscribe-auth/AIU8L9TPVkLvknWNV-YHMQvObVyZ_-Deks5uD95ugaJpZM4VFxsl .
-- Ross Scroggs ross.scroggs@gmail.com
Go here: https://developers.google.com/drive/api/v2/reference/files/get Login as user@domain.com You must log in as the owner of the file, not as an administrator!!!! Paste DriveFileID into fileId field Click execute
What happens?
On Fri, Jul 6, 2018 at 3:12 PM Ross Scroggs ross.scroggs@gmail.com wrote:
Again,
Please send me a private email so I can send you some contact information.
Ross
On Fri, Jul 6, 2018 at 3:02 PM lazypenguin69 notifications@github.com wrote:
I am doing this logged in as myself , the administrator. Same error 404, file not found - even though it exists.
Unfortunately the last resort is to log in as the user and manually transfer ownership if gam cannot do it, however I can't login as the user we have a 2 step verification enforcement policy i would prefer not to disable that and change the user's password just to sign in as them :)
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/jay0lee/GAM/issues/754#issuecomment-403157831, or mute the thread https://github.com/notifications/unsubscribe-auth/AIU8L9TPVkLvknWNV-YHMQvObVyZ_-Deks5uD95ugaJpZM4VFxsl .
-- Ross Scroggs ross.scroggs@gmail.com
-- Ross Scroggs ross.scroggs@gmail.com
Logging in as the user contradicts this entire issue, I could just walk away from this problem and log in as the user and transfer ownership. I already retrieved the drivefileid from GAM when running a query:fullText contains [text here] and found that file, then I contacted the user and asked them to share it with me. If I log in as the user in that link, I am confdient that it is not going to fail, because they can see it because the sharing setting is restricted to off - specific people.
I understand you want a result from logging in as the user but my goal was to resolve this without logging in as the user, as that was my last resort.
I would like to mention again that trying to change permission for this file yielded the following:
gam user user@domain.com add drivefileacl [drivefileid] user me@domain.com role writer withlink
ERROR: 403: The allowFileDiscovery field is only applicable for permissions of type 'domain' or 'anyone'. - forbidden
GAM seems to see the file still as it returns this error, and this error is true - the file does not have a domain or anyone permission setting. Other commands say the file does not exist, probably because of a google limitation where an administrator cannot see the file outside of Google vault or a fulltext contains query.
Apologies I cannot help by logging in as the user, I am really unable to do this and if I get to that point I will do it the easy way and transfer ownership via Drive web
Administrators have no access to files unless they own them or have been explicitly granted access. You can not change the ownership of a file with the administrator unless it happens to be a file for which admin is the owner or has write access.
Your initial message said:
Full steps to reproduce the issue:
Expected outcome (what are you trying to do?): Transfer ownership for a file where user@domain.com is the owner and me@domain.com (a GAM and G-Suite admin) has view access, so that I can delete it.
Based on that I've been assuming that user@domain.com is actually the owner; however that doesn't appear to be the case.
What is your objection to this:
If you know the actual owner, specify it, that's all that will work.
gam user user@domain.com add drivefileacl [drivefileid] user me@domain.com role writer withlink
ERROR: 403: The allowFileDiscovery field is only applicable for permissions of type 'domain' or 'anyone'. - forbidden As the message says, this is not valid; you can say one of the following. gam user owner@domain.com add drivefileacl [drivefileid] domain domain.com role writer withlink gam user owner@domain.com add drivefileacl [drivefileid] anyone role writer withlink
Ross
On Fri, Jul 6, 2018 at 3:32 PM lazypenguin69 notifications@github.com wrote:
Logging in as the user contradicts this entire issue, I could just walk away from this problem and log in as the user and transfer ownership. I already retrieved the drivefileid from GAM when running a query:fullText contains [text here] and found that file, then I contacted the user and asked them to share it with me. If I log in as the user in that link, I am confdient that it is not going to fail, because they can see it because the sharing setting is restricted to off - specific people.
I understand you want a result from logging in as the user but my goal was to resolve this without logging in as the user, as that was my last resort.
I would like to mention again that trying to change permission for this file yielded the following:
gam user user@domain.com add drivefileacl [drivefileid] user me@domain.com role writer withlink
ERROR: 403: The allowFileDiscovery field is only applicable for permissions of type 'domain' or 'anyone'. - forbidden
GAM seems to see the file still as it returns this error, and this error is true - the file does not have a domain or anyone permission setting. Other commands say the file does not exist, probably because of a google limitation where an administrator cannot see the file outside of Google vault or a fulltext contains query.
Apologies I cannot help by logging in as the user, I am really unable to do this and if I get to that point I will do it the easy way and transfer ownership via Drive web
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/jay0lee/GAM/issues/754#issuecomment-403162314, or mute the thread https://github.com/notifications/unsubscribe-auth/AIU8L3tLoU4xk8IF6fDiebIZXDT1_Ba6ks5uD-VggaJpZM4VFxsl .
-- Ross Scroggs ross.scroggs@gmail.com
I did mention in the original post that user@domain.com is the owner and you did assume correct, but I got an error that the file doesn't exist, so I thought there might be a way around that when I posted this.
Even though i know all the details gam didn't do what I want. I do know the owner and I specified it, but it didn't work. You say that I would need write access or to be an owner, I was afraid that was the case, I was not fully aware that even as an admin with gam I still don't have full control. The reason I would have preferred to delete or transfer ownership as administrator is so I can process a data deletion request rapidly without disabling a user's 2 step verification just to achieve that, but i digress as that is not the fault of gam
I will try having the owner give me write access then see if I can transfer ownership. Thank you for responding so rapidly today.
If user@domain.com is the owner of the file, then the gam commands will work. If you get an error then user@domain.com is not the owner or the DriveFileID you're using is not correct.
You don't have to disable the user's two step verification, you don't have to login as the user, you simply give the gam command:
gam user owner@domain.com update drivefileacl
Ross
On Fri, Jul 6, 2018 at 4:41 PM lazypenguin69 notifications@github.com wrote:
I did mention in the original post that user@domain.com is the owner and you did assume correct, but I got an error that the file doesn't exist, so I thought there might be a way around that when I posted this.
Even though i know all the details gam didn't do what I want. I do know the owner and I specified it, but it didn't work. You say that I would need write access or to be an owner, I was afraid that was the case, I was not fully aware that even as an admin with gam I still don't have full control. The reason I would have preferred to delete as administrator is so I can process a data deletion request rapidly without disabling a user's 2 step verification just to achieve that, but i digress!
I will try having the owner give me write access then see if I can transfer ownership. Thank you for responding so rapidly today.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/jay0lee/GAM/issues/754#issuecomment-403171137, or mute the thread https://github.com/notifications/unsubscribe-auth/AIU8LxJkEuHbVus6IeshXDf3d9hOPNsjks5uD_W6gaJpZM4VFxsl .
-- Ross Scroggs ross.scroggs@gmail.com
The command does not work though Also, the drivefileid was retrieved in gam, i did a query:fulltext search of a keyword and saw that user@domain.com was an owner of [DriveFileID]
I got the link of that file by putting the drive ID in a link: https://drive.google.com/file/d/DRIVEFILEIDGOESHERE/view
Then I requested access The owner, who was the same as who I found in GAM, gave me access to that file and now I can view it
Despite all this, the command still doesn't work
Is the ID in the drive.google.com link not the drive file ID????
Edit: surely this is certainly the drive file ID, this method works for other files and I have just tested them. I don't see what I am doing wrong.
Once again, please send me a private email, I'll send you contact information and we will solve your problem
Ross
On Fri, Jul 6, 2018 at 5:01 PM lazypenguin69 notifications@github.com wrote:
The command does not work though Also, the drivefileid was retrieved in gam, i did a query:fulltext search of a keyword and saw that user@domain.com was an owner of [DriveFileID]
I got the link of that file by putting the drive ID in a link: https://drive.google.com/file/d/DRIVEFILEIDGOESHERE/view
Then I requested access The owner, who was the same as who I found in GAM, gave me access to that file and now I can view it
Despite all this, the command still doesn't work
Is the ID in the drive.google.com link not the drive file ID????
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/jay0lee/GAM/issues/754#issuecomment-403173253, or mute the thread https://github.com/notifications/unsubscribe-auth/AIU8L8Z-GaF5uwZx1-EFxEcClX2m39bkks5uD_pCgaJpZM4VFxsl .
-- Ross Scroggs ross.scroggs@gmail.com
Sure, how can I send you a private email?
A Google Drive link looks like this: https://drive.google.com/open?id=19UIZE4md3QB729QaayP05NjDHnkcnGvZ-J_6bt6wxyz The drive file ID is: 19UIZE4md3QB729QaayP05NjDHnkcnGvZ-J_6bt6wxyz
Ross
On Fri, Jul 6, 2018 at 5:05 PM Ross Scroggs ross.scroggs@gmail.com wrote:
Once again, please send me a private email, I'll send you contact information and we will solve your problem
Ross
On Fri, Jul 6, 2018 at 5:01 PM lazypenguin69 notifications@github.com wrote:
The command does not work though Also, the drivefileid was retrieved in gam, i did a query:fulltext search of a keyword and saw that user@domain.com was an owner of [DriveFileID]
I got the link of that file by putting the drive ID in a link: https://drive.google.com/file/d/DRIVEFILEIDGOESHERE/view
Then I requested access The owner, who was the same as who I found in GAM, gave me access to that file and now I can view it
Despite all this, the command still doesn't work
Is the ID in the drive.google.com link not the drive file ID????
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/jay0lee/GAM/issues/754#issuecomment-403173253, or mute the thread https://github.com/notifications/unsubscribe-auth/AIU8L8Z-GaF5uwZx1-EFxEcClX2m39bkks5uD_pCgaJpZM4VFxsl .
-- Ross Scroggs ross.scroggs@gmail.com
-- Ross Scroggs ross.scroggs@gmail.com
ross.scroggs@gmail.com
On Fri, Jul 6, 2018 at 5:09 PM Ross Scroggs ross.scroggs@gmail.com wrote:
A Google Drive link looks like this: https://drive.google.com/open?id=19UIZE4md3QB729QaayP05NjDHnkcnGvZ-J_6bt6wxyz The drive file ID is: 19UIZE4md3QB729QaayP05NjDHnkcnGvZ-J_6bt6wxyz
Ross
On Fri, Jul 6, 2018 at 5:05 PM Ross Scroggs ross.scroggs@gmail.com wrote:
Once again, please send me a private email, I'll send you contact information and we will solve your problem
Ross
On Fri, Jul 6, 2018 at 5:01 PM lazypenguin69 notifications@github.com wrote:
The command does not work though Also, the drivefileid was retrieved in gam, i did a query:fulltext search of a keyword and saw that user@domain.com was an owner of [DriveFileID]
I got the link of that file by putting the drive ID in a link: https://drive.google.com/file/d/DRIVEFILEIDGOESHERE/view
Then I requested access The owner, who was the same as who I found in GAM, gave me access to that file and now I can view it
Despite all this, the command still doesn't work
Is the ID in the drive.google.com link not the drive file ID????
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/jay0lee/GAM/issues/754#issuecomment-403173253, or mute the thread https://github.com/notifications/unsubscribe-auth/AIU8L8Z-GaF5uwZx1-EFxEcClX2m39bkks5uD_pCgaJpZM4VFxsl .
-- Ross Scroggs ross.scroggs@gmail.com
-- Ross Scroggs ross.scroggs@gmail.com
-- Ross Scroggs ross.scroggs@gmail.com
Yep so it looks like I am 100% using the correct drivefileid and we know who the owner is... Will send you an email.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
Was there an update on this? I'm facing the same issue. This is a public link in which I've sourced who the owner was, but still getting the issue.
ERROR: 404: Permission not found: [some random set of numbers here]. - notFound
Steven,
Please show the command and the error; if necessary you can annonomize the data but the the format of the command intact.
ross.scroggs@gmail.com
On May 14, 2020, at 9:08 PM, Steven Cruz notifications@github.com wrote:
Was there an update on this? I'm facing the same issue. This is a public link in which I've sourced who the owner was, but still getting the issue. ERROR: 404: Permission not found: [some random set of numbers here]. - notFound
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/jay0lee/GAM/issues/754#issuecomment-629014142, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACCTYL24GKGVHHNRR6XUZUTRRS525ANCNFSM4FIXDMSQ.
Sorry I missed this notification, but I tried this line: (which didn't work)
gam user user@domain.com update drivefileacl <PutDriveFileIdHere> me@domain.com role owner
However doing this, worked:
gam user user add drivefileacl [drive file here] user steven role owner
I guess regardless if the file was public, you'd need to actually add yourself as a contributor first.
Steven,
If you're trying to give yourself read/write access to a file you don't currently have access to, you have to add an ACL as a current writer/owner of the file.
If you're trying to update your existing access to a file from reader to writer, you have to update the ACL as a current writer/owner of the file.
If you're trying to make yourself owner of a file you don't currently have access to, you have to add an ACL as the owner of the file.
If you're trying to make yourself owner of a file to which you currently have reader/writer access. you have to update the ACL as the owner of the file.
Update means to modify an existing ACL. Add mens to create a new ACL although it will turn into an update if there is an existing ACL referencing the same grantee.
ross.scroggs@gmail.com
On May 16, 2020, at 1:50 PM, Steven Cruz notifications@github.com wrote:
Sorry I missed this notification, but I tried this line: (which didn't work) gam user user@domain.com update drivefileacl
me@domain.com role owner However doing this, worked: gam user user add drivefileacl [drive file here] user steven role owner
I guess regardless if the file was public, you'd need to actually add yourself as a contributor first.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/jay0lee/GAM/issues/754#issuecomment-629704057, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACCTYL2KMQXSOMMFX3DSITDRR34BFANCNFSM4FIXDMSQ.
I am unfortunately also experiencing this same issue. Here is what is happening.
I would like to assign myself (admin@example.com) owner permissions of a user's folder that is inside of their "My Drive". The owner is owner@example.com.
I have confirmed that the ID of the folder is 1w1ln1cjCveq0b7hnuy7pZk7Mjb-740Lk
I confirmed the owner of the folder by running:
gam user owner@example.com show drivefileacl 1w1ln1cjCveq0b7hnuy7pZk7Mjb-740Lk
The result shows this:
07151102164962663745
id: 07151102164962663745
displayName: Other User 2
type: user
photoLink: redacted
emailAddress: otheruser2@example.com
role: reader
deleted: False
pendingOwner: False
17401431297308659364
id: 17401431297308659364
displayName: Me
type: user
photoLink: redacted
emailAddress: admin@example.com
role: reader
deleted: False
pendingOwner: False
05813723596704325082
id: 05813723596704325082
displayName: Other User 3
type: user
photoLink: redacted
emailAddress: otheruser3@example.com
role: reader
deleted: False
pendingOwner: False
01266955616978509034
id: 01266955616978509034
displayName: Other User 4
type: user
photoLink: redacted
emailAddress: otheruser4@fastiep.com
role: reader
deleted: False
pendingOwner: False
16256083557491942373
id: 16256083557491942373
displayName: Other User 5
type: user
photoLink: redacted
emailAddress: otheruser5@example.com
role: reader
deleted: False
pendingOwner: False
14747122725332013171
id: 14747122725332013171
displayName: Other User 6
type: user
photoLink: redacted
emailAddress: otheruser6@example.com
role: reader
deleted: False
pendingOwner: False
11891249972572389408
id: 11891249972572389408
displayName: Owner
type: user
photoLink: redacted
emailAddress: owner@example.com
role: owner
deleted: False
pendingOwner: False
So, i've confirmed that owner@example.com is the owner, and I have reader access. However, when I run the following command, I get an error:
gam user owner@example.com update drivefileacl 1w1ln1cjCveq0b7hnuy7pZk7Mjb-740Lk admin@example.com role owner asadmin
ERROR: 404: File not found: 1w1ln1cjCveq0b7hnuy7pZk7Mjb-740Lk. - notFound
Why am I getting this error?
Jim,
Send me a Meet/Zoom invitation and I'll help.
Ross
On Thu, Apr 6, 2023 at 10:34 AM Jim Ryan @.***> wrote:
I am unfortunately also experiencing this same issue. Here is what is happening.
I would like to assign myself @.) owner permissions of a user's folder that is inside of their "My Drive". The owner is @.
I have confirmed that the ID of the folder is 1w1ln1cjCveq0b7hnuy7pZk7Mjb-740Lk
I confirmed the owner of the folder by running:
gam user @.*** show drivefileacl 1w1ln1cjCveq0b7hnuy7pZk7Mjb-740Lk
The result shows this:
07151102164962663745 id: 07151102164962663745 displayName: Other User 2 type: user photoLink: redacted emailAddress: @.*** role: reader deleted: False pendingOwner: False
17401431297308659364 id: 17401431297308659364 displayName: Me type: user photoLink: redacted emailAddress: @.*** role: reader deleted: False pendingOwner: False
05813723596704325082 id: 05813723596704325082 displayName: Other User 3 type: user photoLink: redacted emailAddress: @.*** role: reader deleted: False pendingOwner: False
01266955616978509034 id: 01266955616978509034 displayName: Other User 4 type: user photoLink: redacted emailAddress: @.*** role: reader deleted: False pendingOwner: False
16256083557491942373 id: 16256083557491942373 displayName: Other User 5 type: user photoLink: redacted emailAddress: @.*** role: reader deleted: False pendingOwner: False
14747122725332013171 id: 14747122725332013171 displayName: Other User 6 type: user photoLink: redacted emailAddress: @.*** role: reader deleted: False pendingOwner: False
11891249972572389408 id: 11891249972572389408 displayName: Owner type: user photoLink: redacted emailAddress: @.*** role: owner deleted: False pendingOwner: False
So, i've confirmed that @.*** is the owner, and I have reader access. However, when I run the following command, I get an error:
gam user @. update drivefileacl 1w1ln1cjCveq0b7hnuy7pZk7Mjb-740Lk user @. role owner asadmin ERROR: 404: File not found: 1w1ln1cjCveq0b7hnuy7pZk7Mjb-740Lk. - notFound
Why am I getting this error?
— Reply to this email directly, view it on GitHub https://github.com/GAM-team/GAM/issues/754#issuecomment-1499402480, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACCTYLZJW63N73SDN6CVQNTW735EHANCNFSM4FIXDMSQ . You are receiving this because you commented.Message ID: @.***>
-- Ross Scroggs @.***
Jim,
In Standard GAM you have to put the keyword id in front of the file id.
gam user @. update drivefileacl id 1w1ln1cjCveq0b7hnuy7pZk7Mjb-740Lk user @. role owner asadmin
Ross
On Thu, Apr 6, 2023 at 10:34 AM Jim Ryan @.***> wrote:
I am unfortunately also experiencing this same issue. Here is what is happening.
I would like to assign myself @.) owner permissions of a user's folder that is inside of their "My Drive". The owner is @.
I have confirmed that the ID of the folder is 1w1ln1cjCveq0b7hnuy7pZk7Mjb-740Lk
I confirmed the owner of the folder by running:
gam user @.*** show drivefileacl 1w1ln1cjCveq0b7hnuy7pZk7Mjb-740Lk
The result shows this:
07151102164962663745 id: 07151102164962663745 displayName: Other User 2 type: user photoLink: redacted emailAddress: @.*** role: reader deleted: False pendingOwner: False
17401431297308659364 id: 17401431297308659364 displayName: Me type: user photoLink: redacted emailAddress: @.*** role: reader deleted: False pendingOwner: False
05813723596704325082 id: 05813723596704325082 displayName: Other User 3 type: user photoLink: redacted emailAddress: @.*** role: reader deleted: False pendingOwner: False
01266955616978509034 id: 01266955616978509034 displayName: Other User 4 type: user photoLink: redacted emailAddress: @.*** role: reader deleted: False pendingOwner: False
16256083557491942373 id: 16256083557491942373 displayName: Other User 5 type: user photoLink: redacted emailAddress: @.*** role: reader deleted: False pendingOwner: False
14747122725332013171 id: 14747122725332013171 displayName: Other User 6 type: user photoLink: redacted emailAddress: @.*** role: reader deleted: False pendingOwner: False
11891249972572389408 id: 11891249972572389408 displayName: Owner type: user photoLink: redacted emailAddress: @.*** role: owner deleted: False pendingOwner: False
So, i've confirmed that @.*** is the owner, and I have reader access. However, when I run the following command, I get an error:
gam user @. update drivefileacl 1w1ln1cjCveq0b7hnuy7pZk7Mjb-740Lk user @. role owner asadmin ERROR: 404: File not found: 1w1ln1cjCveq0b7hnuy7pZk7Mjb-740Lk. - notFound
Why am I getting this error?
— Reply to this email directly, view it on GitHub https://github.com/GAM-team/GAM/issues/754#issuecomment-1499402480, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACCTYLZJW63N73SDN6CVQNTW735EHANCNFSM4FIXDMSQ . You are receiving this because you commented.Message ID: @.***>
-- Ross Scroggs @.***
Actually, I have GAMADV-EXT3 installed.
From: Ross Scroggs @.> Sent: Thursday, April 6, 2023 1:53 PM To: GAM-team/GAM @.> Cc: Jim Ryan (Harvard) @.>; Comment @.> Subject: Re: [GAM-team/GAM] Cannot modify permissions or delete a file that is not shared with domain/anyone (#754)
Jim,
In Standard GAM you have to put the keyword id in front of the file id.
gam user @.<mailto:@.> update drivefileacl id 1w1ln1cjCveq0b7hnuy7pZk7Mjb-740Lk user @.<mailto:@.> role owner asadmin
Ross
On Thu, Apr 6, 2023 at 10:34 AM Jim Ryan @.<mailto:@.>> wrote:
I am unfortunately also experiencing this same issue. Here is what is happening.
I would like to assign myself @.<mailto:@.>) owner permissions of a user's folder that is inside of their "My Drive". The owner is @.<mailto:@.>
I have confirmed that the ID of the folder is 1w1ln1cjCveq0b7hnuy7pZk7Mjb-740Lk
I confirmed the owner of the folder by running:
gam user @.<mailto:@.> show drivefileacl 1w1ln1cjCveq0b7hnuy7pZk7Mjb-740Lk
The result shows this:
07151102164962663745 id: 07151102164962663745 displayName: Other User 2 type: user photoLink: redacted emailAddress: @.<mailto:@.> role: reader deleted: False pendingOwner: False
17401431297308659364 id: 17401431297308659364 displayName: Me type: user photoLink: redacted emailAddress: @.<mailto:@.> role: reader deleted: False pendingOwner: False
05813723596704325082 id: 05813723596704325082 displayName: Other User 3 type: user photoLink: redacted emailAddress: @.<mailto:@.> role: reader deleted: False pendingOwner: False
01266955616978509034 id: 01266955616978509034 displayName: Other User 4 type: user photoLink: redacted emailAddress: @.<mailto:@.> role: reader deleted: False pendingOwner: False
16256083557491942373 id: 16256083557491942373 displayName: Other User 5 type: user photoLink: redacted emailAddress: @.<mailto:@.> role: reader deleted: False pendingOwner: False
14747122725332013171 id: 14747122725332013171 displayName: Other User 6 type: user photoLink: redacted emailAddress: @.<mailto:@.> role: reader deleted: False pendingOwner: False
11891249972572389408 id: 11891249972572389408 displayName: Owner type: user photoLink: redacted emailAddress: @.<mailto:@.> role: owner deleted: False pendingOwner: False
So, i've confirmed that @.<mailto:@.> is the owner, and I have reader access. However, when I run the following command, I get an error:
gam user @.<mailto:@.> update drivefileacl 1w1ln1cjCveq0b7hnuy7pZk7Mjb-740Lk user @.<mailto:@.> role owner asadmin ERROR: 404: File not found: 1w1ln1cjCveq0b7hnuy7pZk7Mjb-740Lk. - notFound
Why am I getting this error?
— Reply to this email directly, view it on GitHub https://github.com/GAM-team/GAM/issues/754#issuecomment-1499402480, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACCTYLZJW63N73SDN6CVQNTW735EHANCNFSM4FIXDMSQ . You are receiving this because you commented.Message ID: @.<mailto:@.>>
-- Ross Scroggs @.<mailto:@.>
— Reply to this email directly, view it on GitHubhttps://github.com/GAM-team/GAM/issues/754#issuecomment-1499421050, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABF7Q3H3OYGC2SNY35LEIXDW737GZANCNFSM4FIXDMSQ. You are receiving this because you commented.Message ID: @.**@.>>
Jim,
Send me a Meet/Zoom invitation and I'll help figure out what's going on.
Ross
On Thu, Apr 6, 2023 at 5:17 PM Jim Ryan @.***> wrote:
Actually, I have GAMADV-EXT3 installed.
From: Ross Scroggs @.> Sent: Thursday, April 6, 2023 1:53 PM To: GAM-team/GAM @.> Cc: Jim Ryan (Harvard) @.>; Comment @.> Subject: Re: [GAM-team/GAM] Cannot modify permissions or delete a file that is not shared with domain/anyone (#754)
Jim,
In Standard GAM you have to put the keyword id in front of the file id.
gam user @.<mailto:@.> update drivefileacl id 1w1ln1cjCveq0b7hnuy7pZk7Mjb-740Lk user @.<mailto:@.> role owner asadmin
Ross
On Thu, Apr 6, 2023 at 10:34 AM Jim Ryan @.<mailto:@.>> wrote:
I am unfortunately also experiencing this same issue. Here is what is happening.
I would like to assign myself @.<mailto:@.>) owner permissions of a user's folder that is inside of their "My Drive". The owner is @.<mailto:@.>
I have confirmed that the ID of the folder is 1w1ln1cjCveq0b7hnuy7pZk7Mjb-740Lk
I confirmed the owner of the folder by running:
gam user @.<mailto:@.> show drivefileacl 1w1ln1cjCveq0b7hnuy7pZk7Mjb-740Lk
The result shows this:
07151102164962663745 id: 07151102164962663745 displayName: Other User 2 type: user photoLink: redacted emailAddress: @.<mailto:@.> role: reader deleted: False pendingOwner: False
17401431297308659364 id: 17401431297308659364 displayName: Me type: user photoLink: redacted emailAddress: @.<mailto:@.> role: reader deleted: False pendingOwner: False
05813723596704325082 id: 05813723596704325082 displayName: Other User 3 type: user photoLink: redacted emailAddress: @.<mailto:@.> role: reader deleted: False pendingOwner: False
01266955616978509034 id: 01266955616978509034 displayName: Other User 4 type: user photoLink: redacted emailAddress: @.<mailto:@.> role: reader deleted: False pendingOwner: False
16256083557491942373 id: 16256083557491942373 displayName: Other User 5 type: user photoLink: redacted emailAddress: @.<mailto:@.> role: reader deleted: False pendingOwner: False
14747122725332013171 id: 14747122725332013171 displayName: Other User 6 type: user photoLink: redacted emailAddress: @.<mailto:@.> role: reader deleted: False pendingOwner: False
11891249972572389408 id: 11891249972572389408 displayName: Owner type: user photoLink: redacted emailAddress: @.<mailto:@.> role: owner deleted: False pendingOwner: False
So, i've confirmed that @.<mailto:@.> is the owner, and I have reader access. However, when I run the following command, I get an error:
gam user @.<mailto:@.> update drivefileacl 1w1ln1cjCveq0b7hnuy7pZk7Mjb-740Lk user @.<mailto:@.> role owner asadmin ERROR: 404: File not found: 1w1ln1cjCveq0b7hnuy7pZk7Mjb-740Lk. - notFound
Why am I getting this error?
— Reply to this email directly, view it on GitHub https://github.com/GAM-team/GAM/issues/754#issuecomment-1499402480, or unsubscribe < https://github.com/notifications/unsubscribe-auth/ACCTYLZJW63N73SDN6CVQNTW735EHANCNFSM4FIXDMSQ>
. You are receiving this because you commented.Message ID: @.<mailto:@.>>
-- Ross Scroggs @.<mailto:@.>
— Reply to this email directly, view it on GitHub< https://github.com/GAM-team/GAM/issues/754#issuecomment-1499421050>, or unsubscribe< https://github.com/notifications/unsubscribe-auth/ABF7Q3H3OYGC2SNY35LEIXDW737GZANCNFSM4FIXDMSQ>.
You are receiving this because you commented.Message ID: @.**@.>>
— Reply to this email directly, view it on GitHub https://github.com/GAM-team/GAM/issues/754#issuecomment-1499784441, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACCTYL6RKAXDP3K7SIH6W43W75MLJANCNFSM4FIXDMSQ . You are receiving this because you commented.Message ID: @.***>
-- Ross Scroggs @.***
Jim,
$ gam user testsimple update drivefileacl eC9jPfVTJ9K9XYn4l68peqmsE_Xr8Eso @.*** role owner
User: @.***, Update 1 Drive File/Folder ACL
User: @.***, Drive File/Folder ID: eC9jPfVTJ9K9XYn4l68peqmsE_Xr8Eso, Update Failed: Does not exist
$ gamo user testsimple update drivefileacl eC9jPfVTJ9K9XYn4l68peqmsE_Xr8Eso @.*** role owner
updating permissions for 14652901203669868795 to file eC9jPfVTJ9K9XYn4l68peqmsE_Xr8Eso
ERROR: 404: File not found: eC9jPfVTJ9K9XYn4l68peqmsE_Xr8Eso. - notFound
You may have Advanced GAM installed but you're running Standard GAM based on the error message.
Ross
On Thu, Apr 6, 2023 at 7:06 PM Ross Scroggs @.***> wrote:
Jim,
Send me a Meet/Zoom invitation and I'll help figure out what's going on.
Ross
On Thu, Apr 6, 2023 at 5:17 PM Jim Ryan @.***> wrote:
Actually, I have GAMADV-EXT3 installed.
From: Ross Scroggs @.> Sent: Thursday, April 6, 2023 1:53 PM To: GAM-team/GAM @.> Cc: Jim Ryan (Harvard) @.>; Comment @.> Subject: Re: [GAM-team/GAM] Cannot modify permissions or delete a file that is not shared with domain/anyone (#754)
Jim,
In Standard GAM you have to put the keyword id in front of the file id.
gam user @.<mailto:@.> update drivefileacl id 1w1ln1cjCveq0b7hnuy7pZk7Mjb-740Lk user @.<mailto:@.> role owner asadmin
Ross
On Thu, Apr 6, 2023 at 10:34 AM Jim Ryan @.<mailto:@.>> wrote:
I am unfortunately also experiencing this same issue. Here is what is happening.
I would like to assign myself @.<mailto:@.>) owner permissions of a user's folder that is inside of their "My Drive". The owner is @.<mailto:@.>
I have confirmed that the ID of the folder is 1w1ln1cjCveq0b7hnuy7pZk7Mjb-740Lk
I confirmed the owner of the folder by running:
gam user @.<mailto:@.> show drivefileacl 1w1ln1cjCveq0b7hnuy7pZk7Mjb-740Lk
The result shows this:
07151102164962663745 id: 07151102164962663745 displayName: Other User 2 type: user photoLink: redacted emailAddress: @.<mailto:@.> role: reader deleted: False pendingOwner: False
17401431297308659364 id: 17401431297308659364 displayName: Me type: user photoLink: redacted emailAddress: @.<mailto:@.> role: reader deleted: False pendingOwner: False
05813723596704325082 id: 05813723596704325082 displayName: Other User 3 type: user photoLink: redacted emailAddress: @.<mailto:@.> role: reader deleted: False pendingOwner: False
01266955616978509034 id: 01266955616978509034 displayName: Other User 4 type: user photoLink: redacted emailAddress: @.<mailto:@.> role: reader deleted: False pendingOwner: False
16256083557491942373 id: 16256083557491942373 displayName: Other User 5 type: user photoLink: redacted emailAddress: @.<mailto:@.> role: reader deleted: False pendingOwner: False
14747122725332013171 id: 14747122725332013171 displayName: Other User 6 type: user photoLink: redacted emailAddress: @.<mailto:@.> role: reader deleted: False pendingOwner: False
11891249972572389408 id: 11891249972572389408 displayName: Owner type: user photoLink: redacted emailAddress: @.<mailto:@.> role: owner deleted: False pendingOwner: False
So, i've confirmed that @.<mailto:@.> is the owner, and I have reader access. However, when I run the following command, I get an error:
gam user @.<mailto:@.> update drivefileacl 1w1ln1cjCveq0b7hnuy7pZk7Mjb-740Lk user @.<mailto:@.> role owner asadmin ERROR: 404: File not found: 1w1ln1cjCveq0b7hnuy7pZk7Mjb-740Lk. - notFound
Why am I getting this error?
— Reply to this email directly, view it on GitHub https://github.com/GAM-team/GAM/issues/754#issuecomment-1499402480, or unsubscribe < https://github.com/notifications/unsubscribe-auth/ACCTYLZJW63N73SDN6CVQNTW735EHANCNFSM4FIXDMSQ>
. You are receiving this because you commented.Message ID: @.<mailto:@.>>
-- Ross Scroggs @.<mailto:@.>
— Reply to this email directly, view it on GitHub< https://github.com/GAM-team/GAM/issues/754#issuecomment-1499421050>, or unsubscribe< https://github.com/notifications/unsubscribe-auth/ABF7Q3H3OYGC2SNY35LEIXDW737GZANCNFSM4FIXDMSQ>.
You are receiving this because you commented.Message ID: @.**@.>>
— Reply to this email directly, view it on GitHub https://github.com/GAM-team/GAM/issues/754#issuecomment-1499784441, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACCTYL6RKAXDP3K7SIH6W43W75MLJANCNFSM4FIXDMSQ . You are receiving this because you commented.Message ID: @.***>
-- Ross Scroggs @.***
-- Ross Scroggs @.***
JIm,
$ gam user testsimple show drivefileacl 1eC9jPfVTJ9K9XYn4l68peqmsE_Xr8Eso
User: @.***, Show 1 Drive File/Folder
Drive File/Folder ID: 1eC9jPfVTJ9K9XYn4l68peqmsE_Xr8Eso, Show 2 Permittees
Ross Scroggs (1/2)
id: 09261179155003706173
type: user
emailAddress: ***@***.***
domain: rdschool.org
role: writer
deleted: False
pendingOwner: False
Test Simple (2/2)
id: 01590292633793029430
type: user
emailAddress: ***@***.***
domain: rdschool.org
role: owner
deleted: False
pendingOwner: False
$ gamo user testsimple show drivefileacl 1eC9jPfVTJ9K9XYn4l68peqmsE_Xr8Eso
09261179155003706173
id: 09261179155003706173
displayName: Ross Scroggs
type: user
emailAddress: @.***
role: writer
deleted: False
pendingOwner: False
01590292633793029430
id: 01590292633793029430
displayName: Test Simple
type: user
emailAddress: @.***
role: owner
deleted: False
pendingOwner: False
Ross
On Thu, Apr 6, 2023 at 7:20 PM Ross Scroggs @.***> wrote:
Jim,
Advanced GAM
$ gam user testsimple update drivefileacl eC9jPfVTJ9K9XYn4l68peqmsE_Xr8Eso @.*** role owner
User: @.***, Update 1 Drive File/Folder ACL
User: @.***, Drive File/Folder ID: eC9jPfVTJ9K9XYn4l68peqmsE_Xr8Eso, Update Failed: Does not exist
Standard GAM
$ gamo user testsimple update drivefileacl eC9jPfVTJ9K9XYn4l68peqmsE_Xr8Eso @.*** role owner
updating permissions for 14652901203669868795 to file eC9jPfVTJ9K9XYn4l68peqmsE_Xr8Eso
ERROR: 404: File not found: eC9jPfVTJ9K9XYn4l68peqmsE_Xr8Eso. - notFound
You may have Advanced GAM installed but you're running Standard GAM based on the error message.
Ross
On Thu, Apr 6, 2023 at 7:06 PM Ross Scroggs @.***> wrote:
Jim,
Send me a Meet/Zoom invitation and I'll help figure out what's going on.
Ross
On Thu, Apr 6, 2023 at 5:17 PM Jim Ryan @.***> wrote:
Actually, I have GAMADV-EXT3 installed.
From: Ross Scroggs @.> Sent: Thursday, April 6, 2023 1:53 PM To: GAM-team/GAM @.> Cc: Jim Ryan (Harvard) @.>; Comment @.> Subject: Re: [GAM-team/GAM] Cannot modify permissions or delete a file that is not shared with domain/anyone (#754)
Jim,
In Standard GAM you have to put the keyword id in front of the file id.
gam user @.<mailto:@.> update drivefileacl id 1w1ln1cjCveq0b7hnuy7pZk7Mjb-740Lk user @.<mailto:@.> role owner asadmin
Ross
On Thu, Apr 6, 2023 at 10:34 AM Jim Ryan @.<mailto:@.>> wrote:
I am unfortunately also experiencing this same issue. Here is what is happening.
I would like to assign myself @.<mailto:@.>) owner permissions of a user's folder that is inside of their "My Drive". The owner is @.<mailto:@.>
I have confirmed that the ID of the folder is 1w1ln1cjCveq0b7hnuy7pZk7Mjb-740Lk
I confirmed the owner of the folder by running:
gam user @.<mailto:@.> show drivefileacl 1w1ln1cjCveq0b7hnuy7pZk7Mjb-740Lk
The result shows this:
07151102164962663745 id: 07151102164962663745 displayName: Other User 2 type: user photoLink: redacted emailAddress: @.<mailto:@.> role: reader deleted: False pendingOwner: False
17401431297308659364 id: 17401431297308659364 displayName: Me type: user photoLink: redacted emailAddress: @.<mailto:@.> role: reader deleted: False pendingOwner: False
05813723596704325082 id: 05813723596704325082 displayName: Other User 3 type: user photoLink: redacted emailAddress: @.<mailto:@.> role: reader deleted: False pendingOwner: False
01266955616978509034 id: 01266955616978509034 displayName: Other User 4 type: user photoLink: redacted emailAddress: @.<mailto:@.> role: reader deleted: False pendingOwner: False
16256083557491942373 id: 16256083557491942373 displayName: Other User 5 type: user photoLink: redacted emailAddress: @.<mailto:@.> role: reader deleted: False pendingOwner: False
14747122725332013171 id: 14747122725332013171 displayName: Other User 6 type: user photoLink: redacted emailAddress: @.<mailto:@.> role: reader deleted: False pendingOwner: False
11891249972572389408 id: 11891249972572389408 displayName: Owner type: user photoLink: redacted emailAddress: @.<mailto:@.> role: owner deleted: False pendingOwner: False
So, i've confirmed that @.<mailto:@.> is the owner, and I have reader access. However, when I run the following command, I get an error:
gam user @.<mailto:@.> update drivefileacl 1w1ln1cjCveq0b7hnuy7pZk7Mjb-740Lk user @.<mailto:@.> role owner asadmin ERROR: 404: File not found: 1w1ln1cjCveq0b7hnuy7pZk7Mjb-740Lk. - notFound
Why am I getting this error?
— Reply to this email directly, view it on GitHub https://github.com/GAM-team/GAM/issues/754#issuecomment-1499402480, or unsubscribe < https://github.com/notifications/unsubscribe-auth/ACCTYLZJW63N73SDN6CVQNTW735EHANCNFSM4FIXDMSQ>
. You are receiving this because you commented.Message ID: @.<mailto:@.>>
-- Ross Scroggs @.<mailto:@.>
— Reply to this email directly, view it on GitHub< https://github.com/GAM-team/GAM/issues/754#issuecomment-1499421050>, or unsubscribe< https://github.com/notifications/unsubscribe-auth/ABF7Q3H3OYGC2SNY35LEIXDW737GZANCNFSM4FIXDMSQ>.
You are receiving this because you commented.Message ID: @.**@.>>
— Reply to this email directly, view it on GitHub https://github.com/GAM-team/GAM/issues/754#issuecomment-1499784441, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACCTYL6RKAXDP3K7SIH6W43W75MLJANCNFSM4FIXDMSQ . You are receiving this because you commented.Message ID: @.***>
-- Ross Scroggs @.***
-- Ross Scroggs @.***
-- Ross Scroggs @.***
Hi Ross,
I appreciate the help. Here’s a ZOOM link. I’d like to figure out why I’m not running GAMADV-EXT3 since I followed the instructions to install it.
https://zoom.us/j/5677175009?pwd=WlNuWTN4WEE0Sy9CQStrTDNobnBHdz09
Based on your reply above, in standard GAM, I tried the following:
gam user owner@example.com update drivefileacl id 1smOO_zValAaYVt-qjGSlhexgudQ_nGSY user admin@example.com role organizer asadmin
But I got error: ERROR: user is not a valid argument for "gam <users> update drivefileacl"
For fun, I tried permutations:
(without user
)
gam user owner@example.com update drivefileacl id 1smOO_zValAaYVt-qjGSlhexgudQ_nGSY user admin@example.com role organizer asadmin
ERROR: admin@example.com is not a valid argument for "gam <users> update drivefileacl"
(without id
but with user
)
gam user owner@example.com update drivefileacl 1smOO_zValAaYVt-qjGSlhexgudQ_nGSY user admin@example.com role organizer asadmin
ERROR: admin@example.com is not a valid argument for "gam <users> update drivefileacl"
(without id
or user
)
gam user owner@example.com update drivefileacl 1smOO_zValAaYVt-qjGSlhexgudQ_nGSY admin@example.com role organizer asadmin
updating permissions for 17401431297308659364 to file 1smOO_zValAaYVt-qjGSlhexgudQ_nGSY
ERROR: 404: File not found: 1smOO_zValAaYVt-qjGSlhexgudQ_nGSY. - notFound
Checking to see if the file actually exists, and it does:
gam user owner@fastiep.com show drivefileacl 1smOO_zValAaYVt-qjGSlhexgudQ_nGSY
17401431297308659364
id: 17401431297308659364
displayName: Admin
type: user
photoLink: redacted
emailAddress: admin@example.com
role: writer
deleted: False
pendingOwner: False
11891249972572389408
id: 11891249972572389408
displayName: Owner
type: user
photoLink: redacted
emailAddress: owner@example.com
role: owner
deleted: False
pendingOwner: False
Hi Ross, Thank you so much for being so generous with your time today. I appreciate you walking me through everything over ZOOM. I managed to complete my script for moving files from specific folders to a shared folder on an hourly basis. Best regards, Jim
Hi Ross,
Thanks for all of your help earlier this year.
I need to disconnect GAMADV-EXT3 from the current domain and connect to a new, completely unrelated domain in a different Google Workspace account (I've changed jobs). Is there an easy way to do this or should I just do a complete uninstall/wipe and fresh reinstall?
Thanks!
Jim
James F. Ryan . +1.617.821.1686 . @.***
From: Jim Ryan (Harvard) @.> Sent: Friday, April 7, 2023 2:51 PM To: 'GAM-team/GAM' @.>; 'GAM-team/GAM' @.> Cc: Jim Ryan (Harvard) @.>; 'Comment' @.***> Subject: RE: [GAM-team/GAM] Cannot modify permissions or delete a file that is not shared with domain/anyone (#754)
Hi Ross,
I appreciate the help. Here's a ZOOM link. I'd like to figure out why I'm not running GAMADV-EXT3 since I followed the instructions to install it.
https://zoom.us/j/5677175009?pwd=WlNuWTN4WEE0Sy9CQStrTDNobnBHdz09
Jim,
If you delete client_secrets.json, oauth2.txt and oauth2service.json from the folder with gam.cfg, you're done on your computer.
Then do the folliwing with the new workspace.
gam create project gam oauth create gam user @.*** check serviceaccount
Ross Scroggs @.***
On Jul 10, 2023, at 9:23 AM, Jim Ryan @.***> wrote:
Hi Ross,
Thanks for all of your help earlier this year.
I need to disconnect GAMADV-EXT3 from the current domain and connect to a new, completely unrelated domain in a different Google Workspace account (I've changed jobs). Is there an easy way to do this or should I just do a complete uninstall/wipe and fresh reinstall?
Thanks!
Jim
James F. Ryan . +1.617.821.1686 . @.***
From: Jim Ryan (Harvard) @.> Sent: Friday, April 7, 2023 2:51 PM To: 'GAM-team/GAM' @.>; 'GAM-team/GAM' @.> Cc: Jim Ryan (Harvard) @.>; 'Comment' @.***> Subject: RE: [GAM-team/GAM] Cannot modify permissions or delete a file that is not shared with domain/anyone (#754)
Hi Ross,
I appreciate the help. Here's a ZOOM link. I'd like to figure out why I'm not running GAMADV-EXT3 since I followed the instructions to install it.
https://zoom.us/j/5677175009?pwd=WlNuWTN4WEE0Sy9CQStrTDNobnBHdz09
— Reply to this email directly, view it on GitHub https://github.com/GAM-team/GAM/issues/754#issuecomment-1629293065, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACCTYL7ARQPSWBQSTGP3J53XPQT7FANCNFSM4FIXDMSQ. You are receiving this because you commented.
That worked, thank you!
James F. Ryan • +1.617.821.1686 • @.***
From: Ross Scroggs @.> Sent: Monday, July 10, 2023 7:55 PM To: GAM-team/GAM @.> Cc: Jim Ryan (Harvard) @.>; Comment @.> Subject: Re: [GAM-team/GAM] Cannot modify permissions or delete a file that is not shared with domain/anyone (#754)
Jim,
If you delete client_secrets.json, oauth2.txt and oauth2service.json from the folder with gam.cfg, you're done on your computer.
Then do the folliwing with the new workspace.
gam create project gam oauth create gam user @. <mailto:@.> check serviceaccount
Ross
Ross Scroggs @. <mailto:@.>
On Jul 10, 2023, at 9:23 AM, Jim Ryan @. <mailto:@.> > wrote:
Hi Ross,
Thanks for all of your help earlier this year.
I need to disconnect GAMADV-EXT3 from the current domain and connect to a new, completely unrelated domain in a different Google Workspace account (I've changed jobs). Is there an easy way to do this or should I just do a complete uninstall/wipe and fresh reinstall?
Thanks!
Jim
James F. Ryan . +1.617.821.1686 . @. <mailto:@.>
From: Jim Ryan (Harvard) @. <mailto:@.> > Sent: Friday, April 7, 2023 2:51 PM To: 'GAM-team/GAM' @. <mailto:@.> >; 'GAM-team/GAM' @. <mailto:@.> > Cc: Jim Ryan (Harvard) @. <mailto:@.> >; 'Comment' @. <mailto:@.> > Subject: RE: [GAM-team/GAM] Cannot modify permissions or delete a file that is not shared with domain/anyone (#754)
Hi Ross,
I appreciate the help. Here's a ZOOM link. I'd like to figure out why I'm not running GAMADV-EXT3 since I followed the instructions to install it.
https://zoom.us/j/5677175009?pwd=WlNuWTN4WEE0Sy9CQStrTDNobnBHdz09
— Reply to this email directly, view it on GitHub https://github.com/GAM-team/GAM/issues/754#issuecomment-1629293065, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACCTYL7ARQPSWBQSTGP3J53XPQT7FANCNFSM4FIXDMSQ. You are receiving this because you commented.
— Reply to this email directly, view it on GitHub https://github.com/GAM-team/GAM/issues/754#issuecomment-1629890078 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ABF7Q3CNBWXF23VV5D7BF7TXPSI5BANCNFSM4FIXDMSQ . You are receiving this because you commented. https://github.com/notifications/beacon/ABF7Q3G2T4IKCQBA5SL7YJ3XPSI5BA5CNFSM4FIXDMS2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOMETCMHQ.gif Message ID: @. @.> >
I have upgraded to the latest GAM release from https://git.io/gamreleases and I still have this issue. I am typing the command as described in the GAM Wiki at https://github.com/jay0lee/gam/wiki
Full steps to reproduce the issue:
Expected outcome (what are you trying to do?): Transfer ownership for a file where user@domain.com is the owner and me@domain.com (a GAM and G-Suite admin) has view access, so that I can delete it.
Actual outcome (what errors or bad behavior do you see instead?): I get the following error: ERROR: 404: File not found:. - notFound
I have also tried gam user user@domain.com add drivefileacl user me@domain.com role writer withlink
But I get the following error: ERROR: 403: The allowFileDiscovery field is only applicable for permissions of type 'domain' or 'anyone'. - forbidden
I have seen this link https://github.com/jay0lee/GAM/issues/455 in order to learn that i have to do it without 'transferownership true' but I still get this error.
Is it just not possible in GAM to manipulate the permissions of a file inside my domain if it does not have a 'domain' or 'anyone' link sharing permission?
Slightly unrelated to the main issue but I think this is noteworthy, I have also tried deleting this file ID in GAM but GAM will give me the following errors: gam user user@domain.com delete drivefile purge
purging for user@domain.com (1/1)
ERROR: 404: File not found: - notFound
If I run that same command but without purge on the end, I get this:
ERROR: 403: Insufficient permissions for this file - forbidden