How to connect GDrive

looks ok to me.

what is the output of ls /root/backup_srv/mount/test

and the output of rclone ls test:

well, is test: is empty, so will the rclone mount

Yes, but the GSUITE user disk is not empty, that’s the matter.
And this user is the only one.

and what does the rclone config file look like, make sure to redact.

can you please post the output of the rclone config file, redacted.
please do not use hard to read screenshots, instead just copy/paste the text.

Yes, I have already connected this account via Access token, but I want to connect using this file.

can you please post the output of the rclone config file, redacted.
please do not use hard to read screenshots, instead just copy/paste the text.

[test]
type = drive
scope = drive
service_account_file = /root/.config/rclone/rclone_json-XXXXXXXX-792b3a8e2587.json
team_drive =

=========================

{
"type": "service_account",
"project_id": "rclone-XXXXXX",
"private_key_id": "792b3a8e2587XXXXXXXXXXXXXb98dd26ae74bcea",
"private_key": "-----BEGIN PRIVATE KEY-----\nMIIEvQIXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX....................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\noLsy6umEeUJ2oxvVQjHL3Ew=\n-----END PRIVATE KEY-----\n",
"client_email": "service-account-rclone@rclone-XXXXXXX.iam.gserviceaccount.com",
"client_id": "10452XXXXXXXXXXXX6688",
"auth_uri": "Sign in – Google accounts",
"token_uri": "https://oauth2.googleapis.com/token",
"auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs",
"client_x509_cert_url": "https://www.googleapis.com/robot/v1/metadata/x509/service-account-rclone%40rclone-XXXXXX.iam.gserviceaccount.comu"
}

add

team_drive=
**shared_with_me = true**

otherwise you see the files from you service account, a service account is like a normal account, without password and without webgut and costs.

furthermore, the shared folder is under test:sharedFolder

Important:
SAs need to be single added to the share for none teamdrives. With a group i have no access.

in your case add

service-account-rclone@rclone-XXXXXXX.iam.gserviceaccount.com

and a last note

don't use the SA to bypass the daily limit, it won't work with shared folders

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.