Failed to save config after 10 tries: Failed to create temp file for new config: open /home/ubuntu/.config/rclone/rclone.conf179484108: permission denied
I was able to reproduce this on a fresh AWS EC2 instance using AMI ami-07ebfd5b3428b6f4d (Canonical, Ubuntu, 18.04 LTS, amd64 bionic image build on 2020-01-12)
ssh ubuntu@[ip address]
curl https://rclone.org/install.sh | sudo bash
rclone config
I then tried to create a new Google Drive connection using all the defaults except the authentication since this is a headless machine.
Not sure the best way to document all the options I chose, but there are all the input lines.
n/s/q> n
name> test
Storage> 13
client_id>
client_secret>
scope>
root_folder_id>
service_account_file>
y/n>
y/n> n
y/n>
y/e/d>
And here is the output. 2020/03/14 21:34:26 Failed to save config after 10 tries: Failed to create temp file for new config: open /home/ubuntu/.config/rclone/rclone.conf089022473: permission denied
I am pretty sure this is just an issue of running install.sh as root and then running rclone config as a non root user.