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.

Full log


View this message in rfc822 format

From: Tobias Geerinckx-Rice <me <at> tobias.gr>
To: 37148 <at> debbugs.gnu.org
Subject: bug#37148: ‘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)]

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

Previous Next


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