From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dave Love Subject: bug#21101: Binary installation clobbers root ownership Date: Tue, 21 Jul 2015 12:20:49 +0100 Message-ID: <87mvypdaem.fsf@pc102091.liv.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37165) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZHVce-0007zH-1k for bug-guix@gnu.org; Tue, 21 Jul 2015 07:22:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZHVcZ-0006PK-2O for bug-guix@gnu.org; Tue, 21 Jul 2015 07:22:08 -0400 Received: from debbugs.gnu.org ([140.186.70.43]:53588) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZHVcY-0006PC-V7 for bug-guix@gnu.org; Tue, 21 Jul 2015 07:22:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZHVcY-00078D-Hb for bug-guix@gnu.org; Tue, 21 Jul 2015 07:22:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36949) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZHVbU-0007tU-Uu for bug-guix@gnu.org; Tue, 21 Jul 2015 07:21:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZHVbP-0005FW-UV for bug-guix@gnu.org; Tue, 21 Jul 2015 07:20:56 -0400 Received: from bhsophx.liv.ac.uk ([138.253.100.116]:57473) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZHVbP-0005DB-O6 for bug-guix@gnu.org; Tue, 21 Jul 2015 07:20:51 -0400 Received: from bhsophx.liv.ac.uk (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id 565DCC0178 for ; Tue, 21 Jul 2015 12:20:50 +0100 (BST) Received: from mxe.liv.ac.uk (mxe.liv.ac.uk [138.253.100.159]) by bhsophx.liv.ac.uk (Postfix) with ESMTP id 50A00C00BC for ; Tue, 21 Jul 2015 12:20:50 +0100 (BST) Received: from mailhube.liv.ac.uk ([138.253.100.45]) by mxe.liv.ac.uk with esmtp (Exim 4.80.1) (envelope-from ) id 1ZHVbO-0005FC-A1 for bug-guix@gnu.org; Tue, 21 Jul 2015 12:20:50 +0100 Received: from localhost ([127.0.0.1] helo=mailhube.liv.ac.uk) by mailhube.liv.ac.uk with esmtp (Exim 4.80.1) (envelope-from ) id 1ZHVbO-0004nM-92 for bug-guix@gnu.org; Tue, 21 Jul 2015 12:20:50 +0100 Received: from pc102091.liv.ac.uk ([138.253.102.91] helo=albion) by mailhube.liv.ac.uk with esmtps (TLSv1.2:DHE-RSA-AES128-SHA:128) (Exim 4.80.1) (envelope-from ) id 1ZHVbO-0004nI-5X for bug-guix@gnu.org; Tue, 21 Jul 2015 12:20:50 +0100 Received: from dlove by albion with local (Exim 4.82) (envelope-from ) id 1ZHVbN-0005Pq-S7 for bug-guix@gnu.org; Tue, 21 Jul 2015 12:20:49 +0100 List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: 21101@debbugs.gnu.org If you unpack guix-binary-0.8.2.x86_64-linux.tar.xz according to the manual instructions in "Binary installation", you clobber the ownership of /, /root, and /var. The tarball needs to unpack with root ownership. While you can use --no-same-owner, the current behaviour is pretty unfriendly. (I noticed because ssh as root then failed with complaints about an insecure .ssh directory.)