Permission error moving gdrive to tdrive

What is the problem you are having with rclone?

Couldn't move: googleapi: Error 403: The domain administrator has not allowed writers to move items into a shared drive., fileWriterTeamDriveMoveInDisabled
2020/08/09 15:37:35 ERROR : Google drive root 'crypt/******/*******': not deleting directories as there were IO errors
2020/08/09 15:37:35 INFO : There was nothing to transfer
2020/08/09 15:37:35 ERROR : Attempt 3/3 failed with 20 errors and: not deleting directories as there were IO errors
2020/08/09 15:37:35 INFO :
Transferred: 0 / 0 Bytes, -, 0 Bytes/s, ETA -
Errors: 20 (retrying may help)
Checks: 57 / 57, 100%
Elapsed time: 30.5s

What is your rclone version (output from rclone version)

rclone v1.52.3-290-g82975109-beta

  • os/arch: linux/amd64
  • go version: go1.14.6

Which OS you are using and how many bits (eg Windows 7, 64 bit)

Linux 5.7.8-Unraid x86_64

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

Google Drive

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

moving files server side from "team share" > "team share" works.

rclone move tdriveupload:crypt/****** tdriveweb:crypt/****** \
--user-agent="transfer" \
-vv \
--buffer-size 512M \
--drive-chunk-size 512M \
--tpslimit 8 \
--checkers 8 \
--transfers 4 \
--order-by modtime,ascending \
--exclude *fuse_hidden* \
--exclude *_HIDDEN \
--exclude .recycle** \
--exclude .Recycle.Bin/** \
--exclude *.backup~* \
--exclude *.partial~* \
--drive-stop-on-upload-limit \
--delete-empty-src-dirs

When attempting to move from my gdrive to the team shares it fails.

rclone move gdrive:crypt/******/****** tdriveweb:crypt/****** \
--user-agent="transfer" \
-vv \
--buffer-size 512M \
--drive-chunk-size 512M \
--tpslimit 8 \
--checkers 8 \
--transfers 4 \
--order-by modtime,ascending \
--exclude *fuse_hidden* \
--exclude *_HIDDEN \
--exclude .recycle** \
--exclude .Recycle.Bin/** \
--exclude *.backup~* \
--exclude *.partial~* \
--drive-stop-on-upload-limit \
--delete-empty-src-dirs

The rclone config contents with secrets removed.

[gdrive]
type = drive
client_id = ******
client_secret = ******
scope = drive
token = ******
root_folder_id = ******

[gdrive_vfs]
type = crypt
remote = gdrive:crypt
filename_encryption = standard
directory_name_encryption = true
password = ******
password2 = ******

[tdriveupload]
type = drive
scope = drive
service_account_file = /mnt/user/appdata/other/rclone/service_accounts/rclone_tdrive.json
team_drive = ******
server_side_across_configs = true

[tdrive_upload_vfs]
type = crypt
remote = tdriveupload:crypt
filename_encryption = standard
directory_name_encryption = true
password = ******
password2 = ******

[tdriveweb]
type = drive
scope = drive
service_account_file = /mnt/user/appdata/other/rclone/service_accounts/rclone_tdrive.json
team_drive = ******
server_side_across_configs = true

[tdrive_web_vfs]
type = crypt
remote = tdriveweb:crypt
filename_encryption = standard
directory_name_encryption = true
password = ******
password2 = ******

I suspect this is a permission issue within the google admin portal.
the "SA" group has been added to the members on all drives. Status has been set to "manage" and i have also "enabled" migration in settings.

That is a very specific error, I can't find any docs mentioning it .

Google support may be able to help.

Is it the same user on the source and destination drives?

You could try sharing the source with the rest?

They are two separate users. First user is the super admin user and the second user is from the user group of service accounts that i created. I believe i have given them full access and shared the correct settings.

Can you try with the same user on source and destination?

I just tested this by using the admin account on both the gdrive and tdrive mount. This is now working as it should.

I must not have auth the second user correctly then. I will keep trying, atleast it working for now.
Thanks

1 Like

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