aboutsummaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2012-12-15 15:28:50 +0100
committerLudovic Courtès <ludo@gnu.org>2012-12-15 15:28:50 +0100
commita784c3077e7cdae5d8492aa540b86b8d32c9a696 (patch)
tree9a09f9a1b2f032b09f2314cf12f7965877290eaf /README
parent7f131cf3681afe62c84db66e48430de9e54e7d7d (diff)
parent07ab4bf1fc590642307f18b4d1b8687dde3d664b (diff)
downloadpatches-a784c3077e7cdae5d8492aa540b86b8d32c9a696.tar
patches-a784c3077e7cdae5d8492aa540b86b8d32c9a696.tar.gz
Merge branch 'master' into core-updates
Conflicts: distro/packages/multiprecision.scm
Diffstat (limited to 'README')
-rw-r--r--README27
1 files changed, 23 insertions, 4 deletions
diff --git a/README b/README
index d2bbfacd5a..09433586be 100644
--- a/README
+++ b/README
@@ -59,10 +59,29 @@ the promise of a build; it is stored as a text file under
`derivation' primitive, as well as higher-level wrappers such as
`build-expression->derivation'.
-Guix does remote procedure calls (RPCs) to the Nix daemon (the
-=nix-worker --daemon= command), which in turn performs builds and
-accesses to the Nix store on its behalf. The RPCs are implemented in
-the (guix store) module.
+Guix does remote procedure calls (RPCs) to the Guix or Nix daemon (the
+=guix-daemon= or =nix-daemon= command), which in turn performs builds
+and accesses to the Nix store on its behalf. The RPCs are implemented
+in the (guix store) module.
+
+* Installing Guix as non-root
+
+The Guix daemon allows software builds to be performed under alternate
+user accounts, which are normally created specifically for this
+purpose. For instance, you may have a pool of accounts in the
+=guixbuild= group, and then you can instruct =guix-daemon= to use them
+like this:
+
+ $ guix-daemon --build-users-group=guixbuild
+
+However, unless it is run as root, =guix-daemon= cannot switch users.
+In that case, it falls back to using a setuid-root helper program call
+=nix-setuid-helper=. That program is not setuid-root by default when
+you install it; instead you should run a command along these lines
+(assuming Guix is installed under /usr/local):
+
+ # chown root.root /usr/local/libexec/nix-setuid-helper
+ # chmod 4755 /usr/local/libexec/nix-setuid-helper
* Contact