From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tobias Geerinckx-Rice via Bug reports for GNU Guix Subject: bug#37148: =?UTF-8?Q?=E2=80=98sudo?= guix =?UTF-8?Q?pull=E2=80=99?= creates root-owned =?UTF-8?Q?/home/$USER/.cache/guix/=E2=80=A6?= Date: Thu, 22 Aug 2019 18:56:32 +0200 Message-ID: <87y2zlcf5r.fsf@nckx> Reply-To: Tobias Geerinckx-Rice Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:54193) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i0qOV-0004hf-Tp for bug-guix@gnu.org; Thu, 22 Aug 2019 12:57:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i0qOU-00044E-N1 for bug-guix@gnu.org; Thu, 22 Aug 2019 12:57:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:57696) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1i0qOU-00043w-G8 for bug-guix@gnu.org; Thu, 22 Aug 2019 12:57:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1i0qOU-0001ra-Cz for bug-guix@gnu.org; Thu, 22 Aug 2019 12:57:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:53933) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i0qO8-0004dw-Hc for bug-guix@gnu.org; Thu, 22 Aug 2019 12:56:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i0qO6-0003eu-NN for bug-guix@gnu.org; Thu, 22 Aug 2019 12:56:40 -0400 Received: from tobias.gr ([2001:470:7405::1]:38838) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1i0qO5-0003bK-2h for bug-guix@gnu.org; Thu, 22 Aug 2019 12:56:38 -0400 Received: by tobias.gr (OpenSMTPD) with ESMTP id dc8729ea for ; Thu, 22 Aug 2019 16:56:33 +0000 (UTC) Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id 4b03e32f (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for ; Thu, 22 Aug 2019 16:56:33 +0000 (UTC) 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" To: 37148@debbugs.gnu.org --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Guix, After running =E2=80=98sudo guix pull=E2=80=99, some directories that guix= =20 assumes to be writable are not: $ guix pull Updating channel 'guix' from Git repository at=20 'https://git.savannah.gnu.org/git/guix.git'... guix pull: error: Git error: failed to create temporary file=20 '/home/adom/.cache/guix/pull/pjmkglp4t7znuugeurpurzikxq3tnlaywmisyr27shj7= apsnalwq/.git/objects/pack/pack_git2_dVwpVq':=20 Permission denied $ Now Guix isn't doing anything wrong, per se, and that error=20 message will tip off most jaded Unixbeards, but how about a: $ guix pull warning: /home//.cache/=E2=80=A6 is not writable by the current=20 user hint: You might want to run =E2=80=98chown -R : /home/=E2=80= =A6=E2=80=99=20 [or just delete it outright? -nckx] =E2=80=A6 ? Thanks to adom` in #guix for posting that output. Kind regards, T G-R --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQT12iAyS4c9C3o4dnINsP+IT1VteQUCXV7JQAAKCRANsP+IT1Vt ebXsAP9xBOdgYwYlS9yPZNAYQWnXSAeq/PG7LoVjwDikMjM8cgEA6VM/+F5ByK0O uYM/7dsuacaiEObadiCdxa67uNw4mQI= =e0+g -----END PGP SIGNATURE----- --=-=-=--