While evaluating rclone I've noticed remote changes aren't picked up from Google Drive when using rclone mount on an remote configured with the scope drive.appfolder.
Okt 24 12:39:40 hostname rclone[16569]: 2019/10/24 12:39:40 DEBUG : Google drive root '': Checking for changes on remote
Okt 24 12:39:40 hostname rclone[16569]: 2019/10/24 12:39:40 INFO : Google drive root '': Change notify listener failure: googleapi: Error 403: The granted scopes do not give access to all of the requested spaces., insufficientScopes
The frequency of these log messages seem to be related to --poll-interval. After sending SIGHUP remote changes are visible on the mount.
What is your rclone version (output from rclone version
)
rclone v1.49.5-245-g0f0079ff-beta
- os/arch: linux/amd64
- go version: go1.13.3
Which OS you are using and how many bits (eg Windows 7, 64 bit)
4.19.0-6-amd64 #1 SMP Debian 4.19.67-2+deb10u1 (2019-09-20)
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
$ rclone mount media: /mnt/media-gdrive
/etc/rclone/rclone.conf:
[gdrive]
type = drive
client_id = <snip>
client_secret = <snip>
scope = drive.appfolder
root_folder_id = appDataFolder
token = <snip>
[media]
type = crypt
remote = gdrive:
password = <snip>
password2 = <snip>
environment variables:
RCLONE_CONFIG=/etc/rclone/rclone.conf
RCLONE_ALLOW_OTHER=true
RCLONE_LOG_LEVEL=DEBUG
RCLONE_USER_AGENT=<snip>
RCLONE_UMASK=0002
RCLONE_GID=112
RCLONE_VFS_CACHE_MODE=writes
RCLONE_ATTR_TIMEOUT=1000h
RCLONE_DIR_CACHE_TIME=1000h
RCLONE_BUFFER_SIZE=128M
RCLONE_POLL_INTERVAL=15s
RCLONE_TIMEOUT=1h