‘sudo guix pull’ creates root-owned /home/$USER/.cache/guix/…

  • Done
  • quality assurance status badge
Details
2 participants
  • Ludovic Courtès
  • Tobias Geerinckx-Rice
Owner
unassigned
Submitted by
Tobias Geerinckx-Rice
Severity
normal
Merged with
T
T
Tobias Geerinckx-Rice wrote on 22 Aug 2019 18:56
(name . Bug reports for GNU Guix)(address . bug-guix@gnu.org)
87y2zlcf5r.fsf@nckx
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
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
-----BEGIN PGP SIGNATURE-----

iHUEARYKAB0WIQT12iAyS4c9C3o4dnINsP+IT1VteQUCXV7JQAAKCRANsP+IT1Vt
ebXsAP9xBOdgYwYlS9yPZNAYQWnXSAeq/PG7LoVjwDikMjM8cgEA6VM/+F5ByK0O
uYM/7dsuacaiEObadiCdxa67uNw4mQI=
=e0+g
-----END PGP SIGNATURE-----

L
L
Ludovic Courtès wrote on 17 Sep 2019 09:35
control message for bug #36785
(address . control@debbugs.gnu.org)
874l1bs7d0.fsf@gnu.org
merge 36785 37148
quit
?
Your comment

This issue is archived.

To comment on this conversation send an email to 37148@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 37148
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch