Unable to compile Rust projects with IntelliJ IDEA after OS update

Hi there,

After running sudo pacman -Syyu on my terminal and installing whatever I had to (the OS update), I noticed I couldn’t compile any of my Rust projects on IntelliJ IDEA, despite having set PATH "$HOME/.cargo/bin:$PATH" in my Fish .config file.

Error message:
➤ error: Unable to open universal variable file '/usr/share/idea/plugins/terminal/fish/fish_variables': Permissão negada 17:32:59
How can I fix that?

My specs:

➤ inxi -v 1                                                                   17:49:06
  Host: blyatmobilebr-pc Kernel: 5.7.17-2-MANJARO x86_64 bits: 64 
  Desktop: Xfce 4.14.2 Distro: Manjaro Linux 
  Dual Core: Intel Core i5 M 460 type: MT MCP speed: 1830 MHz 
  min/max: 1199/2534 MHz 
  Device-1: Intel Core Processor Integrated Graphics driver: i915 v: kernel 
  Device-2: Silicon Motion - Taiwan (formerly Feiya ) type: USB driver: uvcvideo 
  Display: server: X.Org 1.20.8 driver: intel resolution: 1366x768~60Hz 
  OpenGL: renderer: Mesa DRI Intel HD Graphics (ILK) v: 2.1 Mesa 20.1.7 
  Local Storage: total: 298.09 GiB used: 35.98 GiB (12.1%) 
  Processes: 205 Uptime: 1h 31m Memory: 5.61 GiB used: 2.74 GiB (48.8%) 
  Shell: fish inxi: 3.1.05 

Thanks in advance!

Have you tried to chown that file to your user and your group yet?


why use config only for idea ? in my config

SETUVAR fish_user_paths:/home/patrick/\x2elocal/bin


set -x GOPATH $HOME/.local/bin/go

And path for fish is a array not a string as bash, in doc:

set PATH $PATH /usr/local/bin
1 Like

It says that the file/directory is inexistent :c