diff options
| author | Ludovic Courtès <ludo@gnu.org> | 2014-12-09 11:30:26 +0100 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2014-12-09 11:30:26 +0100 |
| commit | 659a92fc7b99e1fdf153e469ea2471c5e143fdf9 (patch) | |
| tree | 9e610f8b7007b1cf676fd4a1074fbb77feff3c27 | |
| parent | 5f742c84d4d908bee8bf88b5c30a9e8ffe5cac0c (diff) | |
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.
| -rw-r--r-- | doc/guix.texi | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/guix.texi b/doc/guix.texi index 22f248481f0..bb52cf713fc 100644 --- a/doc/guix.texi +++ b/doc/guix.texi | |||
| @@ -347,6 +347,15 @@ Bash syntax and the @code{shadow} commands): | |||
| 347 | done | 347 | done |
| 348 | @end example | 348 | @end example |
| 349 | 349 | ||
| 350 | The @file{/gnu/store} directory (or whichever was specified with the | ||
| 351 | @code{--with-store-dir} option) must have ownership and permissions as | ||
| 352 | follows: | ||
| 353 | |||
| 354 | @example | ||
| 355 | # chgrp guix-builder /gnu/store | ||
| 356 | # chmod 1775 /gnu/store | ||
| 357 | @end example | ||
| 358 | |||
| 350 | @noindent | 359 | @noindent |
| 351 | The @code{guix-daemon} program may then be run as @code{root} with: | 360 | The @code{guix-daemon} program may then be run as @code{root} with: |
| 352 | 361 | ||
