From: Tobias Geerinckx-Rice via Bug reports for GNU Guix <bug-guix@gnu.org>
To: 37148@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 [thread overview]
Message-ID: <87y2zlcf5r.fsf@nckx> (raw)
[-- 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 --]
reply other threads:[~2019-08-22 16:57 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87y2zlcf5r.fsf@nckx \
--to=bug-guix@gnu.org \
--cc=37148@debbugs.gnu.org \
--cc=me@tobias.gr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.