From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 21 07:21:14 2015 Received: (at submit) by debbugs.gnu.org; 21 Jul 2015 11:21:14 +0000 Received: from localhost ([127.0.0.1]:55034 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZHVbm-00076z-Dw for submit@debbugs.gnu.org; Tue, 21 Jul 2015 07:21:14 -0400 Received: from eggs.gnu.org ([208.118.235.92]:51720) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZHVbk-00076k-I6 for submit@debbugs.gnu.org; Tue, 21 Jul 2015 07:21:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZHVba-0005Qp-DO for submit@debbugs.gnu.org; Tue, 21 Jul 2015 07:21:07 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:52011) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZHVba-0005Qj-Aj for submit@debbugs.gnu.org; Tue, 21 Jul 2015 07:21:02 -0400 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 From: Dave Love To: bug-guix@gnu.org Subject: Binary installation clobbers root ownership Date: Tue, 21 Jul 2015 12:20:49 +0100 Message-ID: <87mvypdaem.fsf@pc102091.liv.ac.uk> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) 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.) From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 21 11:19:36 2015 Received: (at 21101-done) by debbugs.gnu.org; 21 Jul 2015 15:19:36 +0000 Received: from localhost ([127.0.0.1]:55575 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZHZKS-0005mP-AO for submit@debbugs.gnu.org; Tue, 21 Jul 2015 11:19:36 -0400 Received: from eggs.gnu.org ([208.118.235.92]:41075) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZHZKQ-0005mB-66 for 21101-done@debbugs.gnu.org; Tue, 21 Jul 2015 11:19:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZHZKJ-0006xb-OF for 21101-done@debbugs.gnu.org; Tue, 21 Jul 2015 11:19:28 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_05,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:45412) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZHZKC-0006uD-3J; Tue, 21 Jul 2015 11:19:20 -0400 Received: from pluto.bordeaux.inria.fr ([193.50.110.57]:53299 helo=pluto) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1ZHZKB-0002cD-Bu; Tue, 21 Jul 2015 11:19:19 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Dave Love Subject: Re: bug#21101: Binary installation clobbers root ownership References: <87mvypdaem.fsf@pc102091.liv.ac.uk> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 3 Thermidor an 223 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x3D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-unknown-linux-gnu Date: Tue, 21 Jul 2015 17:19:17 +0200 In-Reply-To: <87mvypdaem.fsf@pc102091.liv.ac.uk> (Dave Love's message of "Tue, 21 Jul 2015 12:20:49 +0100") Message-ID: <87bnf5pmh6.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::e X-Spam-Score: -6.2 (------) X-Debbugs-Envelope-To: 21101-done Cc: 21101-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.2 (------) Dave Love skribis: > 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.) Indeed, thanks for your report. We actually noticed it and fixed it soon after 0.8.2. The fix will be in 0.8.3, to be released tomorrow. Thank you, Ludo=E2=80=99. From unknown Sat Jun 21 03:27:54 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 19 Aug 2015 11:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator