I've installed rclone on my NAS and can upload/download files from the command line. With this small success, I endeavored to mount my personal Google Drive onto an empty folder using a simple script (below):
Using Synology's File Station interface, I can see all files/folders and rename files, and I can even download files from the folder mount, but when I try to execute a file copy/move in either direction using Synology's File Station interface, it errors out.
This seems to be a Synology error, since I can access the NAS-mounted Google Drive using a SMB (PC) connection and freely move files to and from the Google Drive NAS-mount.
Thanks for any advice.
What is your rclone version (output from rclone version)
rclone v1.54.0
os/arch: linux/amd64
go version: go1.15.7
Which cloud storage system are you using?
Google Drive
The command you were trying to run (eg rclone copy /tmp remote:tmp)
Thanks. Agree with --allow-non-empty. The other I cribbed off a "Rclone Browser" default.
When I initially ran this I did so with all switches off, but doing so prevent me from seeing any files/folders, and I got what seemed to be a permissions warning. So that too may be at the root of the problem. Overall, it seems like Synology is the source of the problem since SMB is fine.
I'll dig deeper through the Synology logs, but there was nothing at an INFO log level from rclone. I'll raise that level to DEBUG as well.
Background: I mounted Google Drive to an empty Synology folder. I selected a random PNG file and chose to compress it to zip using Synology's File manager. That went well. The zip was created and uploaded to Google Drive and the File Station display updated to show the new zipfile.
Next, I selected that same PNG file, and dragged it to a folder for which I has read/write access. The copy transfer failed. Here is the relevant DEBUG log excerpt.