From 659a92fc7b99e1fdf153e469ea2471c5e143fdf9 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Tue, 9 Dec 2014 11:30:26 +0100 Subject: doc: Explain how to set the ownership and permissions of /gnu/store. Fixes . Reported by rekado . * doc/guix.texi (Build Environment Setup): Show commands to set the ownership and permissions of /gnu/store. --- doc/guix.texi | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'doc') 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: -- cgit v1.2.3