Article 6NYHP using NordVPN client fails with "Permission denied accessing /run/nordvpn/nordvpnd.sock."

using NordVPN client fails with "Permission denied accessing /run/nordvpn/nordvpnd.sock."

by
GumiBear
from LinuxQuestions.org on (#6NYHP)
Hello everyone,
I've had a persisting issue with Slackware's NordVPN package for quite a while now. Just now I decided to try and finally work around it, so far to no avail. It used to work, but every since some time ago (must be about a year by now) trying to use the NordVPN client in any way fails with the error message
Code:Permission denied accessing /run/nordvpn/nordvpnd.sock.
Run 'sudo usermod -aG nordvpn $USER' to fix this issue and reboot your device afterwards for this to take an effect.I've made sure to follow the SlackBuild's instructions to a T, and I've confirmed that the group "nordvpn" with group-ID 373 exists and that my user is part of that group prior to running the install script (this was actually still a remnant from my previous install of the client before it broke, but it shouldn't make a difference).

The socket in question has the following permissions (taken with ls -lha), I'm not sure if this matters:
Code:srw-rw---- 1 root root 0 Jul 2 20:22 nordvpnd.sockI don't have experiences with sockets and the like, so I am not entirely sure how safely I can mess with this.

Interestingly, the function to start the daemon in /etc/rc.d/nordvpn contains the following lines:
Code:[...]
# $DAEMON start-stop-daemon --start --quiet -g "nordvpn" --pidfile $PID --exec $DAEMON
$DAEMON > /dev/null &
[...]The daemon (/usr/sbin/nordvpnd) is a binary so I can't confirm what passing those parameters does, or why the line of code to do so is commented out. Again, I don't want to mess with things I don't understand.

I haven't found anyone else who had this permission issue while their groups were correctly configured, so I would love to trouble-shoot together with you :)
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments