summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2014-12-09 11:30:26 +0100
committerLudovic Courtès <ludo@gnu.org>2014-12-09 11:30:26 +0100
commit659a92fc7b99e1fdf153e469ea2471c5e143fdf9 (patch)
tree9e610f8b7007b1cf676fd4a1074fbb77feff3c27 /doc
parent5f742c84d4d908bee8bf88b5c30a9e8ffe5cac0c (diff)
downloadguix-659a92fc7b99e1fdf153e469ea2471c5e143fdf9.tar.gz
guix-659a92fc7b99e1fdf153e469ea2471c5e143fdf9.tar.xz
doc: Explain how to set the ownership and permissions of /gnu/store.
Fixes <http://bugs.gnu.org/19316>. Reported by rekado <rekado@elephly.net>. * doc/guix.texi (Build Environment Setup): Show commands to set the ownership and permissions of /gnu/store.
Diffstat (limited to 'doc')
-rw-r--r--doc/guix.texi9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index 22f248481f..bb52cf713f 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -347,6 +347,15 @@ Bash syntax and the @code{shadow} commands):
done
@end example
+The @file{/gnu/store} directory (or whichever was specified with the
+@code{--with-store-dir} option) must have ownership and permissions as
+follows:
+
+@example
+# chgrp guix-builder /gnu/store
+# chmod 1775 /gnu/store
+@end example
+
@noindent
The @code{guix-daemon} program may then be run as @code{root} with: