From mboxrd@z Thu Jan 1 00:00:00 1970 From: carl hansen Subject: Re: Attempting to Authorize Substitutes : Permission denied Issue Date: Sat, 16 Jan 2016 20:14:16 -0800 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a1140c900aa6c9a05297fde65 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43191) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aKejL-0002Li-2Y for help-guix@gnu.org; Sat, 16 Jan 2016 23:14:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aKejJ-0006it-Nj for help-guix@gnu.org; Sat, 16 Jan 2016 23:14:19 -0500 Received: from mail-io0-x236.google.com ([2607:f8b0:4001:c06::236]:36821) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aKejJ-0006io-Fg for help-guix@gnu.org; Sat, 16 Jan 2016 23:14:17 -0500 Received: by mail-io0-x236.google.com with SMTP id g73so328811122ioe.3 for ; Sat, 16 Jan 2016 20:14:17 -0800 (PST) In-Reply-To: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org To: Marc Dunivan Cc: "help-guix@gnu.org" --001a1140c900aa6c9a05297fde65 Content-Type: text/plain; charset=UTF-8 On Sat, Jan 16, 2016 at 7:43 PM, Marc Dunivan wrote: > > Following the instructions here for a binary installation on top of a > GNU\Linux system I get "Permission denied" when I attempt to authorize > substitutes. What permissions should hydra.gnu.org.pub have? How can i > correct this issue? > https://www.gnu.org/software/guix/manual/guix.html#Installation > > 7.To use substitutes from hydra.gnu.org (see Substitutes), authorize them: > # guix archive --authorize < > ~root/.guix-profile/share/guix/hydra.gnu.org.pub > > This is what happens to me: > [term ~]$ guix archive --authorize < > ~root/.guix-profile/share/guix/hydra.gnu.org.pub > bash: /root/.guix-profile/share/guix/hydra.gnu.org.pub: Permission denied > > The same thing happens with sudo: > [term ~]$ sudo guix archive --authorize < > ~root/.guix-profile/share/guix/hydra.gnu.org.pub > bash: /root/.guix-profile/share/guix/hydra.gnu.org.pub: Permission denied > > Respectfully, > Marc > > with sudo , sudo magic ends when you get to the < do this: sudo su THEN # guix archive --authorize < ~root/.guix-profile/share/guix/hydra.gnu.org.pub --001a1140c900aa6c9a05297fde65 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


On Sat, Jan 16, 2016 at 7:43 PM, Marc Dunivan <m971668@protonmail= .com> wrote:

Following the instructions here for a binary insta= llation on top of a GNU\Linux system I get "Permission denied" wh= en I attempt to authorize substitutes.=C2=A0 What permissions should hydra.= gnu.org.pub have?=C2=A0 How can i correct this issue?
7.To use substitutes from hydra.gnu.org (see Substitutes= ), authorize them:
# guix archive -= -authorize < ~root/.guix-profile/share/guix/hydra.gnu.org.pub
<= div style=3D"color:rgb(0,0,0);font-family:Cantarell;font-size:medium;font-s= tyle:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;li= ne-height:28px;text-align:start;text-indent:0px;text-transform:none;white-s= pace:normal;word-spacing:0px">
This is = what happens to =C2=A0me:
[term ~]$ guix archive --authorize < ~root/.guix-profile/sha= re/guix/hydra.gnu.org.pub
bash: /ro= ot/.guix-profile/share/guix/hydra.gnu.org.pub: Permission denied
<= div style=3D"color:rgb(0,0,0);font-family:Cantarell;font-size:medium;font-s= tyle:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;li= ne-height:28px;text-align:start;text-indent:0px;text-transform:none;white-s= pace:normal;word-spacing:0px">
The same= thing happens with sudo:
[term ~]$ sudo guix archive --authorize < ~root/.guix-profil= e/share/guix/hydra.gnu.org.pub
bash= : /root/.guix-profile/share/guix/hydra.gnu.org.pub: Permission denied

Respectfully,
Marc


= =C2=A0with sudo , sudo magic ends when you get to the <

do this:
sudo s= u
THEN
# guix archive --authorize < ~root/.guix-profile/share/guix/hydra.g= nu.org.pub
--001a1140c900aa6c9a05297fde65--