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
System:
  Host: blyatmobilebr-pc Kernel: 5.7.17-2-MANJARO x86_64 bits: 64 
  Desktop: Xfce 4.14.2 Distro: Manjaro Linux 
CPU:
  Dual Core: Intel Core i5 M 460 type: MT MCP speed: 1830 MHz 
  min/max: 1199/2534 MHz 
Graphics:
  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 
Drives:
  Local Storage: total: 298.09 GiB used: 35.98 GiB (12.1%) 
Info:
  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?

:innocent:

why use config only for idea ? in my config
~/.config/fish/fish_variables

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

~/.config/fish/config.fish

...
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