1

I was following this guide to install clangd.

After installing snap smoothly, I tried to install clangd, but the following error occurred.

$ sudo snap install clangd --classic
error: cannot add authorization: open /[home directory]/.snap/auth.json: permission denied

OS is RHEL 7.

If anyone knows about that issue please fix it.

Heerae Lee
  • 11
  • 2

1 Answers1

0

Try

$ sudo SNAPD_AUTH_DATA_FILENAME=/nonexistent snap install clangd --classic
ontherocks
  • 1,747
  • 5
  • 26
  • 43