unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Marc Dunivan <m971668@protonmail.com>
To: carl hansen <carlhansen1234@gmail.com>
Cc: "help-guix@gnu.org" <help-guix@gnu.org>
Subject: Re: Attempting to Authorize Substitutes : Permission denied Issue
Date: Sun, 17 Jan 2016 11:17:42 -0500	[thread overview]
Message-ID: <-Dk2YmbUH3l4tpI7OUoaACCxnCyySIJOKlecukBwwD-UzpMmR3ZshPmv-QLGKbR44EYWZjdvyqxTfZOcx1qJcA==@protonmail.com> (raw)
In-Reply-To: <CAHEkXCRnZKo+VUXN=wjXuPDxSr-Ep_mfEesGQ83W04gtdCXjLg@mail.gmail.com>

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

Carl, thank you.

I didn't realize sudo only acted on the first part and stopped at <. I remembered > and | but forgot about <.

Executing su with sudo...cool! I will remember this.

[user@penguinpocketwee ~]$ sudo su

[root@penguinpocketwee user]# guix archive --authorize < ~root/.guix-profile/share/guix/hydra.gnu.org.pub
warning: failed to install locale: Invalid argument
[root@penguinpocketwee user]# exit
exit
[user@penguinpocketwee ~]$ sudo ls -l ~root/.guix-profile/share/guix/hydra.gnu.org.pub
-rwxr-xr-x. 1 root root 1083 Dec 31 1969 /root/.guix-profile/share/guix/hydra.gnu.org.pub


This also works for me on my GNU\Linux OS, but sudo su seems much more useful with multiple commands.
[user@penguinpocketwee ~]$ sudo -- sh -c 'guix archive --authorize < ~root/.guix-profile/share/guix/hydra.gnu.org.pub'

[-- Attachment #2: Type: text/html, Size: 8432 bytes --]

      reply	other threads:[~2016-01-17 16:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-17  3:43 Attempting to Authorize Substitutes : Permission denied Issue Marc Dunivan
2016-01-17  4:14 ` carl hansen
2016-01-17 16:17   ` Marc Dunivan [this message]

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

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='-Dk2YmbUH3l4tpI7OUoaACCxnCyySIJOKlecukBwwD-UzpMmR3ZshPmv-QLGKbR44EYWZjdvyqxTfZOcx1qJcA==@protonmail.com' \
    --to=m971668@protonmail.com \
    --cc=carlhansen1234@gmail.com \
    --cc=help-guix@gnu.org \
    /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.
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).