unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#37148: ‘sudo guix pull’ creates root-owned /home/$USER/.cache/guix/…
@ 2019-08-22 16:56 Tobias Geerinckx-Rice via Bug reports for GNU Guix
  0 siblings, 0 replies; only message in thread
From: Tobias Geerinckx-Rice via Bug reports for GNU Guix @ 2019-08-22 16:56 UTC (permalink / raw)
  To: 37148

[-- Attachment #1: Type: text/plain, Size: 866 bytes --]

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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-08-22 16:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-08-22 16:56 bug#37148: ‘sudo guix pull’ creates root-owned /home/$USER/.cache/guix/… Tobias Geerinckx-Rice via Bug reports for GNU Guix

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).