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.
This commit is contained in:
Ludovic Courtès 2014-12-09 11:30:26 +01:00
parent 5f742c84d4
commit 659a92fc7b
1 changed files with 9 additions and 0 deletions

View File

@ -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: