I don't understand, The problem is that rclone tries to create a temp config file in the same directory as the given config file but fails because it doesn't have write access. I don't understand how that is expected behavior and why id even needs to create a temp config file if the command is rsync copy
as to why rclone must save the token to the config file i do not know.
seems that if the config file is read-only, rclone should save the token to ram.
not sure if this helps:
i use service files, so in my config there are no tokens.
no worries, as we have many rclone experts, who should stop by soon.
Many programs write a temp file to replace the a file in use as it does this as it needs to make sure it doesn't mess up/corrupt the config file so it writes everything out to a temp file and replaces it.
You need to have write access to the location that the config is in if you want to use it.
if rclone wants to change config file, don't be scared. it knows what it does
copy your config file to a writable location and run rclone using the copy from now on: