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

Previous Next

Package: guix;

Reported by: Tobias Geerinckx-Rice <me <at> tobias.gr>

Date: Thu, 22 Aug 2019 16:57:02 UTC

Severity: normal

Merged with 36785

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 37148 in the body.
You can then email your comments to 37148 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#37148; Package guix. (Thu, 22 Aug 2019 16:57:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Tobias Geerinckx-Rice <me <at> tobias.gr>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Thu, 22 Aug 2019 16:57:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Tobias Geerinckx-Rice <me <at> tobias.gr>
To: Bug reports for GNU Guix <bug-guix <at> gnu.org>
Subject: ‘sudo guix pull’ creates
 root-owned /home/$USER/.cache/guix/…
Date: Thu, 22 Aug 2019 18:56:32 +0200
[Message part 1 (text/plain, inline)]
Guix,

After running ‘sudo guix pull’, some directories that guix 
assumes to be writable are not:

 $ guix pull
 Updating channel 'guix' from Git repository at 
 'https://git.savannah.gnu.org/git/guix.git'...
 guix pull: error: Git error: failed to create temporary file 
 '/home/adom/.cache/guix/pull/pjmkglp4t7znuugeurpurzikxq3tnlaywmisyr27shj7apsnalwq/.git/objects/pack/pack_git2_dVwpVq': 
 Permission denied
 $

Now Guix isn't doing anything wrong, per se, and that error 
message will tip off most jaded Unixbeards, but how about a:

 $ guix pull
 warning: /home/<USER>/.cache/… is not writable by the current 
 user <USER>
 hint: You might want to run ‘chown -R <USER>:<USER> /home/…’ 
 [or just delete it outright? -nckx]
 …

?

Thanks to adom` in #guix for posting that output.

Kind regards,

T G-R
[signature.asc (application/pgp-signature, inline)]

Merged 36785 37148. Request was from Ludovic Courtès <ludo <at> gnu.org> to control <at> debbugs.gnu.org. (Tue, 17 Sep 2019 07:37:01 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 27 Oct 2019 11:24:10 GMT) Full text and rfc822 format available.

This bug report was last modified 5 years and 237 days ago.

Previous Next


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