[Nix-dev] Is it possible to limit nix access to sudoers and/ora group?

Graham Christensen graham at grahamc.com
Fri Jan 20 12:57:14 CET 2017


Michael Raskin <7c6f434c at mail.ru> writes:

> I would expect that changing socket permissions should be the simplest
> way. Given it is in /nix/var/nix/daemon-socket/ you could just make the 
> directory unreadable (o-rx) for non-welcome users.
>

I was just going to add this, that adjusting the permissions on the
socket would do the trick. I think you would need to adjust the
permissions on the socket itself though, and not the surrounding
directory. Right?

Graham


More information about the nix-dev mailing list