From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thorsten Wilms Subject: Re: Root guix dereferencing Date: Mon, 19 Nov 2018 15:32:03 +0100 Message-ID: <30f615aa-d80d-e884-1629-a8a8fde60fee@freenet.de> References: <984d7a13-05d6-0f05-17ea-57d2858c016c@freenet.de> <20181118230629.GD25252@jasmine.lan> <878t1pbc6t.fsf@lassieur.org> <87efbhnotx.fsf@lassieur.org> Reply-To: t_w_@freenet.de Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48408) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gOkdq-0005Uo-AV for help-guix@gnu.org; Mon, 19 Nov 2018 09:35:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gOkdm-00054D-6i for help-guix@gnu.org; Mon, 19 Nov 2018 09:35:10 -0500 Received: from mout2.freenet.de ([195.4.92.92]:49654) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gOkdm-00053L-00 for help-guix@gnu.org; Mon, 19 Nov 2018 09:35:06 -0500 In-Reply-To: <87efbhnotx.fsf@lassieur.org> Content-Language: en-US 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" To: =?UTF-8?Q?Cl=c3=a9ment_Lassieur?= Cc: help-guix On 19/11/2018 15.07, Clément Lassieur wrote: > It doesn't need to contain 'sudo' and 'root', because 'root' is just a > user, so everything works the same way. $: which guix /home/thorwil/.config/guix/current/bin/guix $: sudo which guix /usr/local/bin/guix $ sudo -E which guix /usr/local/bin/guix $: sudo -i root@charly:~# which guix /root/.guix-profile/bin/guix I wouldn't describe that as working the same way, especially since only the symlinks for the plain user are being updated. -- Thorsten Wilms thorwil's design for free software: http://thorwil.wordpress.com/