From unknown Fri Jun 20 20:11:20 2025 X-Loop: help-debbugs@gnu.org Subject: bug#21101: Binary installation clobbers root ownership Resent-From: Dave Love Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 21 Jul 2015 11:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 21101 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 21101@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.143747767427345 (code B ref -1); Tue, 21 Jul 2015 11:22:02 +0000 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 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-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 unknown Fri Jun 20 20:11:20 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.503 (Entity 5.503) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Dave Love Subject: bug#21101: closed (Re: bug#21101: Binary installation clobbers root ownership) Message-ID: References: <87bnf5pmh6.fsf@gnu.org> <87mvypdaem.fsf@pc102091.liv.ac.uk> X-Gnu-PR-Message: they-closed 21101 X-Gnu-PR-Package: guix Reply-To: 21101@debbugs.gnu.org Date: Tue, 21 Jul 2015 15:20:03 +0000 Content-Type: multipart/mixed; boundary="----------=_1437492003-22265-1" This is a multi-part message in MIME format... ------------=_1437492003-22265-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #21101: Binary installation clobbers root ownership which was filed against the guix package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 21101@debbugs.gnu.org. --=20 21101: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D21101 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1437492003-22265-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit 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. ------------=_1437492003-22265-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit 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.) ------------=_1437492003-22265-1--