Changing rclone delete operation to move operation for Google Drive

As this thread mention: Google Drive: users can't delete shared files they don't own, unless it's a "Shared drive" (do not confuse it with "Shared with me")

How to make rclone behavior towards delete operation that actually not deleting, but moving to somewhere. So, in Web UI of Gdrive, when we delete the file which we were not the owner, it's not moving to trash. Instead, it's moved to root folder of the real owner MyDrive.

So, when I perform rclone delete mygd:/another_owner_file.txt, this will moving another_owner_file.txt to the root folder of the real owner. But what I got is 403 forbidden insufficient permission.

This is the same when I perform mounted operation rm -rf /mnt/mygd/another_owner_file.txt. I expect it didn't really delete, instead it moves to the root of actual owner folder. But what I got is Input/Output error.


Here I have an idea:

Suppose a mounted directory /mnt/rclone. The problem is I'm insufficient permission to perform, e.g.

rm -rf /mnt/rclone/file.txt

Outputting:

rm: cannot remove '/mnt/rclone/file.txt': Input/output error

It seems generic error, but I know the cause. It's because I don't have permission to perform delete operations. Not only remove operations, modification operations also. So, when using nano or vim. I still have such error.

Note that, I'm allowed to perform move or copy operations!

So, I expect there is such wrapper that wrapping /mnt/rclone to /mnt/rclone_wrapper. So when I perform such command .e.g modifying the text in nano /mnt/rclone_wrapper/file.txt. The behind of scene is like these:

1. Copying /mnt/rclone/file.txt to local (.e.g: /tmp/file.txt)`
2. Moving /mnt/rclone/file.txt to /mnt/rclone/.trash/
3. Moving /tmp/file.txt to /mnt/rclone/file.txt

Is there any idea somehow?