help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Attempting to Authorize Substitutes : Permission denied Issue


From: Marc Dunivan
Subject: Re: Attempting to Authorize Substitutes : Permission denied Issue
Date: Sun, 17 Jan 2016 11:17:42 -0500


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.

address@hidden ~]$ sudo su
address@hidden user]# guix archive --authorize < ~root/.guix-profile/share/guix/hydra.gnu.org.pub
warning: failed to install locale: Invalid argument
address@hidden user]# exit
exit
address@hidden ~]$ 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.
address@hidden ~]$ sudo -- sh -c 'guix archive --authorize < ~root/.guix-profile/share/guix/hydra.gnu.org.pub'


reply via email to

[Prev in Thread] Current Thread [Next in Thread]