Skip to content
Snippets Groups Projects
Commit 659a92fc authored by Ludovic Courtès's avatar Ludovic Courtès
Browse files

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.
parent 5f742c84
No related branches found
No related tags found
No related merge requests found
...@@ -347,6 +347,15 @@ Bash syntax and the @code{shadow} commands): ...@@ -347,6 +347,15 @@ Bash syntax and the @code{shadow} commands):
done done
@end example @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 @noindent
The @code{guix-daemon} program may then be run as @code{root} with: The @code{guix-daemon} program may then be run as @code{root} with:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment