Clone config gets cannot perform readlinkat()

I installed rclone on my UBUNTU system and I am trying to run rclone config and get:

cannot perform readlinkat() on the mount namespace file descriptor of the init process: Permission denied

What is the ownership and permission of the config file?

Thanks, where is the config file? to look for “the config file”

~/.rclone.conf usually.

No there is no ~/.rclone.conf file

Normally the config file is in your home directory as a file called .config/rclone/rclone.conf (or .rclone.conf if created with an older version). If $XDG_CONFIG_HOME is set it will be at $XDG_CONFIG_HOME/rclone/rclone.conf

Hi,
No there is no .config subdirectory at the account that I am using.

I did installed clone with snap (installed snap first) following the web instructions (I am running UBUNTU), and there I had the problem. So I did a snap remover clone, and then installed rclone following the LINUX instructions, coping the rclone file to the /usr/bin now rclone is running and I was able to run the rclone config

So there is something funny with the installation in snap.
Thank you

1 Like