How do I pass drive-acknowledge-abuse arg to the rclone rc
Rclone Version:
rclone version
rclone v1.72.0
- os/version: ubuntu 22.04 (64 bit)
- os/kernel: 6.8.0-86-generic (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.25.4
- go/linking: st
Cloud Storage: Google Drive
Command:
rclone rc sync/copy --json '{ "srcFs": "anima:DWM/transfers/from/from_spacesheep/20260112_04", "dstFs": "/tmp", "opt": { "backed": {"drive-acknowledge-abuse": true }}}' -vv --dump=headers
Rclone Config:
[anima]
type = drive
client_id = XXX
client_secret = XXX
scope = drive
root_folder_id = XXX
token = XXX
team_drive =
Log:
clone rc sync/copy --json '{ "srcFs": "anima:DWM/transfers/from/from_spacesheep/20260112_04", "dstFs": "/tmp", "opt": { "backed": {"drive-acknowledge-abuse": true }}}' -vv --dump=headers
2026/01/12 19:43:19 DEBUG : Setting --config "/ganglia/linux/etc/rclone.conf" from environment variable RCLONE_CONFIG="/ganglia/linux/etc/rclone.conf"
2026/01/12 19:43:19 NOTICE: Automatically setting -vv as --dump is enabled
2026/01/12 19:43:19 DEBUG : rclone: Version "v1.72.0" starting with parameters ["rclone" "rc" "sync/copy" "--json" "{ \"srcFs\": \"anima:DWM/transfers/from/from_spacesheep/20260112_04\", \"dstFs\": \"/tmp\", \"opt\": { \"backed\": {\"drive-acknowledge-abuse\": true }}}" "-vv" "--dump=headers"]
2026/01/12 19:43:19 DEBUG : You have specified to dump information. Please be noted that the Accept-Encoding as shown may not be correct in the request and the response may not show Content-Encoding if the go standard libraries auto gzip encoding was in effect. In this case the body of the request will be gunzipped before showing it.
2026/01/12 19:43:19 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2026/01/12 19:43:19 DEBUG : HTTP REQUEST (req 0xc0004ba000)
2026/01/12 19:43:19 DEBUG : POST /sync/copy HTTP/1.1
Host: localhost:5572
User-Agent: rclone/v1.72.0
Content-Length: 129
Content-Type: application/json
Accept-Encoding: gzip
2026/01/12 19:43:19 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2026/01/12 19:43:21 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2026/01/12 19:43:21 DEBUG : HTTP RESPONSE (req 0xc0004ba000)
2026/01/12 19:43:21 DEBUG : HTTP/1.1 500 Internal Server Error
Content-Length: 461
Accept-Ranges: bytes
Content-Type: application/json
Date: Mon, 12 Jan 2026 11:43:21 GMT
Server: rclone/v1.72.0
X-Rclone-Jobid: 5
2026/01/12 19:43:21 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
{
"error": "failed to open source object: open file failed: use the --drive-acknowledge-abuse flag to download this file: googleapi: Error 403: This file has been identified as malware or spam and cannot be downloaded., cannotDownloadAbusiveFile",
"input": {
"dstFs": "/tmp",
"opt": {
"backed": {
"drive-acknowledge-abuse": true
}
},
"srcFs": "anima:DWM/transfers/from/from_spacesheep/20260112_04"
},
"path": "sync/copy",
"status": 500
}
2026/01/12 19:43:21 DEBUG : 6 go routines active
2026/01/12 19:43:21 NOTICE: Failed to rc: operation "sync/copy" failed: failed to open source object: open file failed: use the --drive-acknowledge-abuse flag to download this file: googleapi: Error 403: This file has been identified as malware or spam and cannot be downloaded., cannotDownloadAbusiveFile