aboutsummaryrefslogtreecommitdiff
path: root/guix
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2014-06-06 00:09:12 +0200
committerLudovic Courtès <ludo@gnu.org>2014-06-06 00:28:21 +0200
commite97c5be914864674d024dd088eb1f2788ac49f46 (patch)
treeb18a5aeaae41dac7211e1d30cb384197f9dabb63 /guix
parentc6b76405ffedae1649f3ed68717c70c7f2443347 (diff)
downloadgnu-guix-e97c5be914864674d024dd088eb1f2788ac49f46.tar
gnu-guix-e97c5be914864674d024dd088eb1f2788ac49f46.tar.gz
services: Use a fixed GID for the build group and use that for the store.
This partly reverts commit 185f669 ("services: Make sure the store's group is the build group.") * gnu/services/base.scm (guix-service)[activate]: Remove 'chown' call. Add 'id' field to 'user-group' form. * guix/build/install.scm (directives): Set the store's GID to 30000.
Diffstat (limited to 'guix')
-rw-r--r--guix/build/install.scm6
1 files changed, 3 insertions, 3 deletions
diff --git a/guix/build/install.scm b/guix/build/install.scm
index ea787b63e2..2a76394faa 100644
--- a/guix/build/install.scm
+++ b/guix/build/install.scm
@@ -73,9 +73,9 @@ directory TARGET."
(define (directives store)
"Return a list of directives to populate the root file system that will host
STORE."
- `(;; Note: The store's group is changed to the "guixbuild" group at
- ;; activation time.
- (directory ,store 0 0)
+ `(;; Note: the store's GID is fixed precisely so we can set it here rather
+ ;; than at activation time.
+ (directory ,store 0 30000)
(directory "/etc")
(directory "/var/log") ; for dmd