Sample Header Ad - 728x90

Permission denied in AUR helper paru

1 vote
0 answers
398 views
Recently, I tried the Archlinux on WSL2. But I got into trouble when I used Paru as the AUR helper to install some packages like bochs. It said:
error: Permission denied (os error 13)
I knew it was probably caused by the wrong owner of .cargo and .rustup, according to this [issue](https://github.com/rust-lang/cargo/issues/6757) . But it was ineffective after I used chown, changing the owner of .cargo and .rustup recursively. So, does anyone know how to solve it? BTW: I did not have logs either. There is nothing about the process of installing in file pacman.log. The commands I used:
paru -S bochs
sudo chown -R username:usergroup .cargo .rustup
Asked by Pollard Lee (36 rep)
Sep 1, 2023, 01:41 PM
Last activity: Sep 12, 2023, 04:56 PM