cointop-sh / cointop

A fast and lightweight interactive terminal based UI application for tracking cryptocurrencies 🚀
https://cointop.sh
Apache License 2.0
3.98k stars 311 forks source link

Permission Error in Opening `config.toml` #328

Open mikoloism opened 2 weeks ago

mikoloism commented 2 weeks ago

I had the same problem, then I created the directory with mkdir ~/.config/cointop. But I get the following error!

user@pc:~$ cointop 
Error: open /home/user/.config/cointop/config.toml: permission denied

Then I changed all permissions to chmod 777 (and also tried chmod a+rwx) on the path. It doesn't actually work! I even created a separate folder in the ~/Downloads/config.toml path and gave that path to the COINTOP_CONFIG variable and specified the configuration path with the --config flag during execution, but nothing was executed and only a PID was created.

Version ```terminal user@pc:~$ snap version snap 2.63 snapd 2.63 series 16 ubuntu 22.04 kernel 6.8.0-40-generic user@pc:~$ cointop version v(devel) user@pc:~$ go version go version go1.20.6 ```

Also in https://github.com/cointop-sh/cointop/issues/72