mac m1: I get permission denied when it tries to write the configuration into the .config directory
(probably because this directory is a system diectory and nobody is allowed to write in it.
Run the command 'rclone version' and share the full output of the command.
./rclone version
rclone v1.60.0
- os/version: darwin 13.0 (64 bit)
- os/kernel: 22.1.0 (x86_64)
- os/type: darwin
- os/arch: amd64
- go/version: go1.19.2
- go/linking: dynamic
- go/tags: cmount
Which cloud storage system are you using? (eg Google Drive)
any
The command you were trying to run (eg rclone copy /tmp remote:tmp)
That's not a normal Mac behavior as something is done differently.
etexter@Mac-mini ~ % rclone config file
Configuration file is stored at:
/Users/etexter/.config/rclone/rclone.conf
etexter@Mac-mini ~ % rclone about GD:
2022/10/26 07:35:28 Failed to create file system for "GD:": didn't find section in config file
etexter@Mac-mini ~ % rclone about TEST:
Total: 16 GiB
Used: 1.902 GiB
Free: 10.814 GiB
Trashed: 512.366 MiB
Other: 3.284 GiB
Config file
rclone version
rclone v1.60.0
- os/version: darwin 13.0 (64 bit)
- os/kernel: 22.1.0 (arm64)
- os/type: darwin
- os/arch: arm64
- go/version: go1.19.2
- go/linking: dynamic
- go/tags: cmount
I just reinstalled my Mac for Ventura so this is a fresh install this mornig.
etexter@Mac-mini ~ % rclone config
2022/10/26 07:34:56 NOTICE: Config file "/Users/etexter/.config/rclone/rclone.conf" not found - using defaults
No remotes found, make a new one?
n) New remote
yes same owner.
When I do get info (from that .config folder) within finder
I can see that system has r/w access and group "staff" only has read access.
Perhaps this changes in MacOS Ventura... idk.
(It was working on my other Macbook before)
I'm not saying you've done something in a malicious fashion as I'm just saying you've executed something as root in your user's home directory creating the problem.
That shows what the problem is as i'm assuming/fairly confident, you ran some rclone command as root creating the issue as on a fresh install, that .config isn't there and used for rclone.
To fix it, change the ownership of that .config to your user or remove it and recreate your config.