GNU bug report logs - #37148
‘sudo guix pull’ creates root-owned /home/$USER/.cache/guix/…

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Reported by: Tobias Geerinckx-Rice <me@HIDDEN>; merged with #36785; dated Thu, 22 Aug 2019 16:57:02 UTC; Maintainer for guix is bug-guix@HIDDEN.
Merged 36785 37148. Request was from Ludovic Courtès <ludo@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 22 Aug 2019 16:56:44 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Aug 22 12:56:44 2019
Received: from localhost ([127.0.0.1]:38284 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1i0qOC-0001qj-Im
	for submit <at> debbugs.gnu.org; Thu, 22 Aug 2019 12:56:44 -0400
Received: from lists.gnu.org ([209.51.188.17]:34334)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <me@HIDDEN>) id 1i0qO9-0001qa-QI
 for submit <at> debbugs.gnu.org; Thu, 22 Aug 2019 12:56:43 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:53933)
 by lists.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <me@HIDDEN>) id 1i0qO8-0004dw-Hc
 for bug-guix@HIDDEN; Thu, 22 Aug 2019 12:56:41 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_20,URIBL_BLOCKED
 autolearn=disabled version=3.3.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <me@HIDDEN>) id 1i0qO6-0003eu-NN
 for bug-guix@HIDDEN; 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 <me@HIDDEN>) id 1i0qO5-0003bK-2h
 for bug-guix@HIDDEN; Thu, 22 Aug 2019 12:56:38 -0400
Received: by tobias.gr (OpenSMTPD) with ESMTP id dc8729ea
 for <bug-guix@HIDDEN>; Thu, 22 Aug 2019 16:56:33 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=tobias.gr; h=from:to
 :subject:date:message-id:mime-version:content-type; s=2018; i=
 me@HIDDEN; bh=wHiIoV8slzAy/GRVlEvlCslWZOKXy7Rp+iPirnO2c1w=; b=
 JW/p+OLhfOBhEIo5PBcB6ttlyQg41yJK1Ky6j3DVYq74GnQIRhOfImzr+M53t2Cn
 b7I/3ubHecq5YHYmrpcNnD9IGUUh0HYwt4CLnYzVtrlEJIzA+lzXpRzquC2xZgFl
 RTZKXu/Scq8FmONEBYbvOQ7KYCtZm2DOJhrzkLuPm7sGoRVD7c9tOmKRBOXwn7OE
 YMehWS657jGcV4tTx3GqabC62pL5qQXuJY6wUfGG4JyQuBhvaXiCSepnRNIgvbwP
 3F7DwDhWqxA8nJC+KVAnKxiPob5bkVbSnP+/gNJbHFmdhSzpwpthjCh+x84zFjeV
 CzfUIeBKGcH9MT8blChxzw==
Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id 4b03e32f
 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for <bug-guix@HIDDEN>;
 Thu, 22 Aug 2019 16:56:33 +0000 (UTC)
From: Tobias Geerinckx-Rice <me@HIDDEN>
To: Bug reports for GNU Guix <bug-guix@HIDDEN>
Subject: =?utf-8?Q?=E2=80=98sudo?= guix =?utf-8?Q?pull=E2=80=99?= creates
 root-owned =?utf-8?Q?=2Fhome=2F$USER=2F=2Ecache=2Fguix=2F=E2=80=A6?=
Date: Thu, 22 Aug 2019 18:56:32 +0200
Message-ID: <87y2zlcf5r.fsf@nckx>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha512; protocol="application/pgp-signature"
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
 recognized.
X-Received-From: 2001:470:7405::1
X-Spam-Score: -1.4 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.4 (--)

--=-=-=
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/<USER>/.cache/=E2=80=A6 is not writable by the current=20
  user <USER>
  hint: You might want to run =E2=80=98chown -R <USER>:<USER> /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-----
--=-=-=--




Acknowledgement sent to Tobias Geerinckx-Rice <me@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#37148; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Tue, 17 Sep 2019 07:45:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.