# /nix/var/nix/daemon-socket/socket: Permission denied

**URL:** https://discourse.nixos.org/t/nix-var-nix-daemon-socket-socket-permission-denied/39142
**Category:** Help
**Created:** [February 1, 2024, 3:56pm UTC](https://discourse.nixos.org/t/nix-var-nix-daemon-socket-socket-permission-denied/39142 "2024-02-01T15:56:40Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![abathur](https://discourse.nixos.org/user_avatar/discourse.nixos.org/abathur/32/2719_2.png) [@abathur](https://discourse.nixos.org/u/abathur)
#### Post date: [February 1, 2024, 4:37pm UTC](https://discourse.nixos.org/t/nix-var-nix-daemon-socket-socket-permission-denied/39142/2 "2024-02-01T16:37:13Z")

</div>

> [@ulysses4ever](#):
>
> `/nix/var/nix/daemon-socket/socket: Permission denied`

Do you know what linux this is, and how they installed it? I see a number of threads out there mentioning this when people have installed Nix with their system package manager. Looks like quite a few threads are about Alpine.

The Nix manual discusses the mechanism they’re probably using: [Multi-User Mode - Nix Reference Manual](https://nixos.org/manual/nix/unstable/installation/multi-user.html?highlight=%22nix-users%22#restricting-access)

If this sounds right, your user or users likely need to be added to the `nix-users` group.

---

_[View the full topic](https://discourse.nixos.org/t/nix-var-nix-daemon-socket-socket-permission-denied/39142)._
