From mboxrd@z Thu Jan 1 00:00:00 1970 From: Raghav Gururajan Subject: bug#36379: Running `guix pull` as "root" user Date: Tue, 25 Jun 2019 12:09:37 -0400 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:42565) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hfo1R-0007Vi-BT for bug-guix@gnu.org; Tue, 25 Jun 2019 12:10:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hfo1O-000250-Oq for bug-guix@gnu.org; Tue, 25 Jun 2019 12:10:17 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:48032) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hfo1C-0001mq-ET for bug-guix@gnu.org; Tue, 25 Jun 2019 12:10:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hfo1C-0003W8-86 for bug-guix@gnu.org; Tue, 25 Jun 2019 12:10:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:42509) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hfo10-0007Gr-0v for bug-guix@gnu.org; Tue, 25 Jun 2019 12:09:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hfo0z-0001WR-04 for bug-guix@gnu.org; Tue, 25 Jun 2019 12:09:49 -0400 Received: from knopi.disroot.org ([178.21.23.139]:43112) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hfo0y-0001U2-CV for bug-guix@gnu.org; Tue, 25 Jun 2019 12:09:48 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 64BB024CD9 for ; Tue, 25 Jun 2019 18:09:46 +0200 (CEST) Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ObgCuAMrJOfR for ; Tue, 25 Jun 2019 18:09:45 +0200 (CEST) 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: 36379@debbugs.gnu.org Hello Guix! On a newly installed Guix System, before running first `guix pull`, the output for `which guix` and `hash guix` for both "root" and "regular" user are `/run/current-system/profile/bin/guix`. This is okay. After running first `guix pull` as "regular" user, the output for `which guix` and `hash guix` for that "regular" user are always `/home/rg/.config/guix/current/bin/guix`. This is okay. But after running first `guix pull` as "root" user, the output for `which guix` and `hash guix` for that "regular" user are always `/run/current-system/profile/bin/guix` instead of being `/root/.config/guix/current/bin/guix`. This is a bug? Thank you! Regards, RG.