From: ludo@gnu.org (Ludovic Courtès)
To: Pjotr Prins <pjotr.public12@thebird.nl>
Cc: 32183@debbugs.gnu.org
Subject: bug#32183: New ‘guix pull’ /root/.config/current/bin/guix: Permission denied
Date: Tue, 11 Sep 2018 16:26:43 +0200 [thread overview]
Message-ID: <87in3c9kkc.fsf@gnu.org> (raw)
In-Reply-To: <20180911132313.7qtypjdc6y5ykjxd@thebird.nl> (Pjotr Prins's message of "Tue, 11 Sep 2018 15:23:13 +0200")
Pjotr Prins <pjotr.public12@thebird.nl> skribis:
> On Tue, Sep 11, 2018 at 12:12:15PM +0200, Ludovic Courtès wrote:
>> The download process is running as a build user, not as root, hence the
>> permission issue (silly me!).
>>
>> Now we need to find a way to use ‘guix’ from root’s
>> ~/.config/guix/current. A solution may be to expose that profile under
>> /var/guix/profiles. Needs more thought…
>
> Great! Any quick hacks to fix this?
A quick workaround is to run ‘guix-daemon’ from the ‘guix’ package. So,
as root, you’d do:
guix pull # if you haven’t done it recently
guix package -i guix # to install or upgrade guix
Then make sure your systemd (or whatever) config file returns to
/var/guix/profiles/per-user/root/guix-profile/bin/guix-daemon as it
does when you install Guix from the binary tarball.
HTH!
Ludo’.
next prev parent reply other threads:[~2018-09-11 14:27 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-17 8:55 [bug#32183] New ‘guix pull’ /root/.config/current/bin/guix: Permission denied Pjotr Prins
2018-07-17 9:42 ` Pjotr Prins
2018-07-17 9:51 ` Pjotr Prins
2018-07-17 19:15 ` Leo Famulari
2018-07-17 22:28 ` bug#32183: " Ludovic Courtès
2018-07-23 22:28 ` Pjotr Prins
2018-07-26 13:50 ` Ludovic Courtès
2018-09-02 13:55 ` Ludovic Courtès
2018-09-02 14:28 ` Pjotr Prins
2018-09-02 20:04 ` Ludovic Courtès
2018-09-06 21:10 ` Pjotr Prins
2018-09-09 7:20 ` Pjotr Prins
2018-09-09 14:02 ` Pjotr Prins
2018-09-09 14:44 ` Ludovic Courtès
2018-09-11 9:34 ` Konrad Hinsen
2018-09-11 10:12 ` Ludovic Courtès
2018-09-11 13:23 ` Pjotr Prins
2018-09-11 13:58 ` Pjotr Prins
2018-09-11 14:27 ` Ludovic Courtès
2018-10-11 16:32 ` Ludovic Courtès
2018-10-12 6:59 ` Konrad Hinsen
2018-10-12 12:57 ` Ludovic Courtès
2018-10-15 11:59 ` Konrad Hinsen
2018-10-15 19:33 ` Ludovic Courtès
2018-10-16 10:41 ` Konrad Hinsen
2018-10-17 8:44 ` Ludovic Courtès
2018-10-17 9:17 ` Konrad Hinsen
2018-10-17 23:06 ` Ludovic Courtès
2018-11-02 14:38 ` swedebugia
2018-11-03 14:13 ` Ludovic Courtès
2018-10-14 18:12 ` Pjotr Prins
2018-09-11 14:26 ` Ludovic Courtès [this message]
2018-09-05 15:27 ` bug#32183: Me too! Konrad Hinsen
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=87in3c9kkc.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=32183@debbugs.gnu.org \
--cc=pjotr.public12@thebird.nl \
/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.