You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, after installing, Rclone cannot find the config I added. Rclone expects to read the config at the location ~/.config/rclone/rclone.conf, while ansible-rclone installed the config file at /root/.config/rclone/rclone.conf.
parallels@ubuntu-linux-22-04-desktop:/usr/bin$ which rclone
/usr/local/bin/rclone
parallels@ubuntu-linux-22-04-desktop:/usr/bin$ ls -l /usr/local/bin/rclone
-rwxr-xr-x 1 root root 48037888 Jul 17 06:48 /usr/local/bin/rclone
parallels@ubuntu-linux-22-04-desktop:/usr/bin$ rclone config file
Configuration file doesn't exist, but rclone will use this path:/home/parallels/.config/rclone/rclone.confparallels@ubuntu-linux-22-04-desktop:/usr/bin$ rclone config2023/08/11 15:01:34 NOTICE: Config file "/home/parallels/.config/rclone/rclone.conf" not found - using defaultsNo remotes found, make a new one?n) New remotes) Set configuration passwordq) Quit confign/s/q>
parallels@ubuntu-linux-22-04-desktop:/usr/bin$ sudo cat /root/.config/rclone/rclone.conf
[sudo] password for parallels:
[hm-s3]
type = s3
provider = AWS
access_key_id = xxx
secret_access_key = xxx
region = us-west-2
storage_class = STANDARD
I am wondering should we use ~/.config/rclone/rclone.conf as default location and set non-root user for the config file?
Or it is just be design maybe make it easy to share between multiple users? Thanks! 😃
The text was updated successfully, but these errors were encountered:
hongbo-miao
changed the title
Rclone config default location
Rclone config location
Aug 11, 2023
I am trying to add Rclone config during installation. Here is what I found:
I installed Rclone by
However, after installing, Rclone cannot find the config I added. Rclone expects to read the config at the location
~/.config/rclone/rclone.conf
, while ansible-rclone installed the config file at/root/.config/rclone/rclone.conf
.To make it work, I need further add:
I am wondering should we use
~/.config/rclone/rclone.conf
as default location and set non-root user for the config file?Or it is just be design maybe make it easy to share between multiple users? Thanks! 😃
The text was updated successfully, but these errors were encountered: