What is the problem you are having with rclone?
I have a config file in a folder for which the user running rclone only as read access
What is your rclone version (output from rclone version
)
rclone v1.53.3
- os/arch: linux/arm
- go version: go1.15.5
Which OS you are using and how many bits (eg Windows 7, 64 bit)
arch linux
Which cloud storage system are you using? (eg Google Drive)
irrelevant i think (onedrive)
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
/usr/bin/rclone copy /backup backuponedrive:/backup --immutable --min-age 30m --config=/confs/rclone.conf
The rclone config contents with secrets removed.
irrelevant i think
A log from the command with the -vv
flag
2020/12/25 17:53:00 ERROR : error reading available plugins: Error creating : /home/rclonerun/.cache/rclone/webgui/plugins/config
2020/12/25 17:53:00 DEBUG : --min-age 30m0s to 2020-12-25 17:23:00.601393024 +0100 CET m=-1799.874637304
2020/12/25 17:53:00 DEBUG : rclone: Version "v1.53.3" starting with parameters ["rclone" "copy" "/storage/backup/msibackup" "backup onedrive:/mainbackup" "--immutable" "--min-age" "30m" "--config=/confs/rclone.conf" "-vv"]
2020/12/25 17:53:00 DEBUG : Creating backend with remote "/storage/backup/msibackup"
2020/12/25 17:53:00 DEBUG : Using config file from "/confs/rclone.conf"
2020/12/25 17:53:00 DEBUG : Creating backend with remote "backup onedrive:/mainbackup"
2020/12/25 17:53:00 DEBUG : One drive root 'mainbackup': Token expired but no uploads in progress - doing nothing
2020/12/25 17:53:00 DEBUG : backup onedrive: Loaded invalid token from config file - ignoring
2020/12/25 17:53:05 Failed to save config after 10 tries: Failed to create temp file for new config: open /confs/rclone.conf454082206: permission denied
when running exact same command with user that has write access in the config folder it works as expected