Service account doesn't read folder from drive

What is the problem you are having with rclone?

I am trying to move and copy files on google drive using a service account. Currently I have:

  • created a service account inside a google API project
  • created a shared folder on drive and gave permissions to the service account

However it seems like I am not getting anything when I try to run rclone with the service account.

Run the command 'rclone version' and share the full output of the command.

rclone v1.67.0
- os/version: Microsoft Windows 11 Home 23H2 (64 bit)
- os/kernel: 10.0.22631.3880 (x86_64)
- os/type: windows
- os/arch: amd64
- go/version: go1.22.4
- go/linking: static
- go/tags: cmount

Which cloud storage system are you using? (eg Google Drive)

I am using Google Drive.

The command you were trying to run (eg rclone copy /tmp remote:tmp)

rclone lsd remote: --drive-service-account-file=<service-account-file-path>

I get nothing upon running this command.

Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.

[GDrive]
type = drive
scope = drive
token = XXX
team_drive =

A log from the command that you were trying to run with the -vv flag

welcome to the forum,

might try --drive-shared-with-me

Wow that worked immediately. Thank you for the solution. Just wanted to add that it is possible to move and copy files with this as well as viewing them.

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