rclone/rclone

drive: can't delete shared files

Open

#3,998 opened on 2020年2月23日

GitHub で見る
 (6 comments) (6 reactions) (0 assignees)Go (57,185 stars) (5,090 forks)batch import
Remote: Drivebughelp wanted

説明

What is the problem you are having with rclone?

I have rclone_v1.47_x64 run on Ubuntu, i cannot delete files on GoogleDrive.

I use this command:

rclone -v delete GD:myfolder/myfile.json

i get theses messages:

2020/02/19 17:58:04 INFO : Waiting for deletions to finish 2020/02/19 17:58:05 ERROR : myfile.json: Couldn't delete: googleapi: Error 403: The user does not have sufficient permissions for this file., insufficientFilePermissions 2020/02/19 17:58:05 ERROR : Attempt 1/3 failed with 2 errors and: failed to delete 1 files 2020/02/19 17:58:05 INFO : Waiting for deletions to finish 2020/02/19 17:58:06 ERROR : myfile.json: Couldn't delete: googleapi: Error 403: The user does not have sufficient permissions for this file., insufficientFilePermissions 2020/02/19 17:58:06 ERROR : Attempt 2/3 failed with 2 errors and: failed to delete 1 files 2020/02/19 17:58:06 INFO : Waiting for deletions to finish 2020/02/19 17:58:07 ERROR : myfile.json: Couldn't delete: googleapi: Error 403: The user does not have sufficient permissions for this file., insufficientFilePermissions 2020/02/19 17:58:07 ERROR : Attempt 3/3 failed with 2 errors and: failed to delete 1 files 2020/02/19 17:58:07 Failed to delete: failed to delete 1 files

Please, help me?

Thank you.

What is your rclone version (output from rclone version)

rclone v1.47.0

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

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

Ubuntu 19.04 version 64bits

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)

rclone -v delete GD:myfolder/myfile.json

A log from the command with the -vv flag (eg output from rclone -vv copy /tmp remote:tmp)

See : https://forum.rclone.org/t/delete-files-on-googledrive-with-rclone-command/14445?u=lebossejames

コントリビューターガイド