From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#32183: New =?UTF-8?Q?=E2=80=98guix_?= =?UTF-8?Q?pull=E2=80=99?= /root/.config/current/bin/guix: Permission denied Date: Tue, 11 Sep 2018 16:26:43 +0200 Message-ID: <87in3c9kkc.fsf@gnu.org> References: <20180717085541.g6nuycopf5kxoin7@thebird.nl> <20180723222855.osvahab6uo677nfd@thebird.nl> <87tvomxfzy.fsf@gnu.org> <871sacats5.fsf@gnu.org> <20180902142855.llzongao3kraunys@thebird.nl> <87efeb64z3.fsf@gnu.org> <20180906211033.nszav6ubctku737d@thebird.nl> <87zhwq91dc.fsf@gnu.org> <87zhwo9wcg.fsf@gnu.org> <20180911132313.7qtypjdc6y5ykjxd@thebird.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34953) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fzjdA-00025z-MX for bug-guix@gnu.org; Tue, 11 Sep 2018 10:27:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fzjd8-0006MK-PS for bug-guix@gnu.org; Tue, 11 Sep 2018 10:27:04 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:32912) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fzjd8-0006M2-KL for bug-guix@gnu.org; Tue, 11 Sep 2018 10:27:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fzjd8-00039V-GU for bug-guix@gnu.org; Tue, 11 Sep 2018 10:27:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <20180911132313.7qtypjdc6y5ykjxd@thebird.nl> (Pjotr Prins's message of "Tue, 11 Sep 2018 15:23:13 +0200") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Pjotr Prins Cc: 32183@debbugs.gnu.org Pjotr Prins skribis: > On Tue, Sep 11, 2018 at 12:12:15PM +0200, Ludovic Court=C3=A8s wrote: >> The download process is running as a build user, not as root, hence the >> permission issue (silly me!). >>=20 >> Now we need to find a way to use =E2=80=98guix=E2=80=99 from root=E2=80= =99s >> ~/.config/guix/current. A solution may be to expose that profile under >> /var/guix/profiles. Needs more thought=E2=80=A6 > > Great! Any quick hacks to fix this? A quick workaround is to run =E2=80=98guix-daemon=E2=80=99 from the =E2=80= =98guix=E2=80=99 package. So, as root, you=E2=80=99d do: guix pull # if you haven=E2=80=99t 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=E2=80=99.