LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-24-2021, 06:07 PM   #1
andrewysk
Member
 
Registered: Mar 2020
Posts: 797

Rep: Reputation: Disabled
google blocks grive2 from accessing google drive - help pls.


I have finally learnt to install grive2 on my arch based linux , plasma

run
Code:
$grive -a
and google slapped me with this!
All my efforts are in vain.

Code:
This app is blocked

This app tried to access sensitive info in your Google Account. To keep your account safe, Google blocked this access.

I have tried to unblock from inside google security setting, but there is just nothing to unblock.

Please help
 
Old 02-24-2021, 08:27 PM   #2
Mechanikx
Member
 
Registered: Jul 2018
Distribution: Slackware
Posts: 351

Rep: Reputation: 258Reputation: 258Reputation: 258
Quote:
Originally Posted by andrewysk View Post
I have finally learnt to install grive2 on my arch based linux , plasma

run
Code:
$grive -a
and google slapped me with this!
All my efforts are in vain.

Code:
This app is blocked

This app tried to access sensitive info in your Google Account. To keep your account safe, Google blocked this access.

I have tried to unblock from inside google security setting, but there is just nothing to unblock.

Please help
Well like I said in your previous thread I haven't tried any of these out yet, but have you tried allowing less secure apps?

Less Secure Apps

Last edited by Mechanikx; 02-24-2021 at 08:38 PM.
 
Old 02-25-2021, 02:08 AM   #3
Gad
Member
 
Registered: May 2013
Distribution: FreeBSD
Posts: 566

Rep: Reputation: 114Reputation: 114
https://myaccount.google.com/lesssecureapps
 
Old 02-25-2021, 12:20 PM   #4
andrewysk
Member
 
Registered: Mar 2020
Posts: 797

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Gad View Post

Doesn't work, still blocked.
Attached Thumbnails
Click image for larger version

Name:	H5WwLDx.png
Views:	55
Size:	42.2 KB
ID:	35712  

Last edited by andrewysk; 02-25-2021 at 12:24 PM.
 
Old 02-25-2021, 12:38 PM   #5
shruggy
Senior Member
 
Registered: Mar 2020
Posts: 3,670

Rep: Reputation: Disabled
Check the section Different OAuth2 client to workaround over quota and google approval issues in the Grive2 README.md.
 
1 members found this post helpful.
Old 02-25-2021, 01:50 PM   #6
Gad
Member
 
Registered: May 2013
Distribution: FreeBSD
Posts: 566

Rep: Reputation: 114Reputation: 114
If you are using 2FA disable it temporarily and see what happens. Unfortunately some apps will get blocked due to not supporting latest security protocols or because G$ might just feel like being difficult. I see you have posted this question on multiple forums without any response. Big ups to LQ! You may want to possibly look into maybe using Rsync. I have not used it myself on Google Drive but it seems to be another option.
 
Old 02-25-2021, 02:05 PM   #7
shruggy
Senior Member
 
Registered: Mar 2020
Posts: 3,670

Rep: Reputation: Disabled
rclone works with Google Drive.
 
Old 02-25-2021, 06:29 PM   #8
andrewysk
Member
 
Registered: Mar 2020
Posts: 797

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by shruggy View Post
I have to make the "user type" - "External", because it does not allow me to make it Internal.
Code:
Because you’re not a Google Workspace user, you can only make your app available to external (general audience) users.
I don't really understand it clearly. Google statement makes it hard to clearly understand.. or maybe just my poor comprehension.
Does this expose my google drive to public user (anybody with google acc) ?

Code:
In this mode, your app is available to any user with a Google Account. External apps that request sensitive or restricted user data must first be verified by Google. This process may take 4-6 weeks. In addition, if you selected restricted scopes, you'll need to go through an independent security review, which can cost USD $15k-$75k. Learn more
 
Old 02-25-2021, 06:38 PM   #9
andrewysk
Member
 
Registered: Mar 2020
Posts: 797

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Gad View Post
If you are using 2FA disable it temporarily and see what happens. Unfortunately some apps will get blocked due to not supporting latest security protocols or because G$ might just feel like being difficult. I see you have posted this question on multiple forums without any response. Big ups to LQ! You may want to possibly look into maybe using Rsync. I have not used it myself on Google Drive but it seems to be another option.

No, i am not using 2FA.


This works:
Different OAuth2 client to workaround over quota and google approval issues in the Grive2 README.md.
 
Old 02-25-2021, 06:44 PM   #10
andrewysk
Member
 
Registered: Mar 2020
Posts: 797

Original Poster
Rep: Reputation: Disabled
After going thru all the setting of google OAuth2 client setup.. done.

Then i realized, grive2 only capable of sync thing from my own google drive (even then, it only synced a few files and call it done).

Code:
 $ grive
Reading local directories
Reading remote server file list
Synchronizing files
Finished!
I was actually thought i can use it to sync whatever i can access on google drive via browser..
What i really want to sync to local machine is the "shared google drive" from my friend. . but apparently grive can't access to the "shared google drive" so, make it useless to me, Unless it is me who don't know how to use it.
 
Old 02-25-2021, 06:55 PM   #11
andrewysk
Member
 
Registered: Mar 2020
Posts: 797

Original Poster
Rep: Reputation: Disabled
Does rclone able to sync "shared google drive" ?

Quote:
Originally Posted by shruggy View Post
Does rclone able to sync "shared google drive" that my friend shared to me ?
Grive only able to sync my very own google drive, not shared google drive (which is useless to me)
 
Old 02-25-2021, 07:02 PM   #12
shruggy
Senior Member
 
Registered: Mar 2020
Posts: 3,670

Rep: Reputation: Disabled
It has the --drive-shared-with-me option, so I guess yes.
 
1 members found this post helpful.
Old 02-28-2021, 07:05 AM   #13
andrewysk
Member
 
Registered: Mar 2020
Posts: 797

Original Poster
Rep: Reputation: Disabled
I am switching to rclone ... wait pls
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Cli Google Drive Client Grive2: How To Enable Automatic Synchronization LXer Syndicated Linux News 0 08-02-2018 03:00 PM
LXer: How to sync your Google Cloud on Linux with Grive2 LXer Syndicated Linux News 0 05-11-2016 06:27 AM
Pls help me to run a file in ns-2...i dono anything about that....pls help me swtjeeva Linux - Newbie 1 07-25-2012 07:18 PM
Pls help me to run a file in ns-2...i dono anything about that....pls help me swtjeeva Linux - Software 3 07-25-2012 07:22 AM
pls pls pls help me ! i'm tired with httpd config on fedora apache 2.0.48 AngelOfTheDamn Fedora 0 01-24-2004 05:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:36 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration