aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2015-05-18 00:42:05 +0200
committerLudovic Courtès <ludo@gnu.org>2015-05-18 00:43:28 +0200
commit01dbc7e01a576bf388914dfe99fa473e87728462 (patch)
treee461081eb1082733b5d48dd01f7f802b0435061f /gnu
parent175ced413cb1c31ec58e06a4c2de8a0ae53fdaeb (diff)
downloadpatches-01dbc7e01a576bf388914dfe99fa473e87728462.tar
patches-01dbc7e01a576bf388914dfe99fa473e87728462.tar.gz
install: Files in the tarball are all root-owned.
Fixes a thinko introduced in 175ced4. * gnu/system/install.scm (self-contained-tarball): Use "root:0" as the owner and group. * doc/guix.texi (Binary Installation): Revert 175ced4.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/system/install.scm8
1 files changed, 2 insertions, 6 deletions
diff --git a/gnu/system/install.scm b/gnu/system/install.scm
index 2ae7f27690..799851c9d7 100644
--- a/gnu/system/install.scm
+++ b/gnu/system/install.scm
@@ -67,14 +67,10 @@ under /root/.guix-profile where GUIX is installed."
#:closure "profile")
;; Create the tarball. Use GNU format so there's no file name
- ;; length limitation. Use the owner and group names given in the
- ;; manual.
- ;; XXX: /var and /root should rather be root-owned, but it doesn't
- ;; make any difference in practice.
+ ;; length limitation.
(with-directory-excursion %root
(zero? (system* "tar" "--xz" "--format=gnu"
- "--owner=guixbuilder01"
- "--group=guixbuild"
+ "--owner=root:0" "--group=root:0"
"-cvf" #$output ".")))))
(gexp->derivation "guix-tarball.tar.xz" build