Unix Socket

The Miru agent serves API requests over the Unix socket /run/miru/miru.sock, which is created with the root:miru permissions (user root and group miru). Any access to the socket must be executed with a user that is a member of the miru group.
Access to the socket is granted to the root user but this is not recommended for security best practices.
To add a user to the miru group, run
sudo usermod -a -G miru <username>
To add the current user to the miru group, run
sudo usermod -a -G miru $USER
You must log out of your desktop or SSH session and log back in for group changes to take effect permanently.
To temporarily run the current shell session as a member of the miru group, run
newgrp miru
Any new shell sessions will require you to run newgrp miru again until you’ve logged out of your desktop or SSH session and logged back in.