From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?Q?Cl=C3=A9ment?= Lassieur Subject: bug#30728: Modification for guix installation script. Date: Thu, 29 Mar 2018 10:11:35 +0200 Message-ID: <87bmf7wbbc.fsf__5100.67382497272$1522311060$gmane$org@lassieur.org> References: <87d0zr9r76.fsf@lassieur.org> <87fu4ngq0a.fsf@elephly.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50453) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f1SfD-0002KK-OU for bug-guix@gnu.org; Thu, 29 Mar 2018 04:12:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f1SfC-0000xO-JY for bug-guix@gnu.org; Thu, 29 Mar 2018 04:12:03 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:50016) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f1SfC-0000x4-EN for bug-guix@gnu.org; Thu, 29 Mar 2018 04:12:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1f1SfC-0000k2-4s for bug-guix@gnu.org; Thu, 29 Mar 2018 04:12:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-reply-to: 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: =?UTF-8?Q?G=C3=A1bor?= Boskovits Cc: Guix-devel , 30728@debbugs.gnu.org, Tatiana Sholokhova Gábor Boskovits writes: > 2018-03-26 11:11 GMT+02:00 Ricardo Wurmus : > >> >> Hi Clément, >> >> > As I said to Chris (Cc'ed), I don't think it's a good idea to install >> > Guix in root's home directory. Instead, we should probably honor the >> > USER and HOME environment variables, so that the command can be run as a >> > non-root user (with sudo) in a consistent way. What do you think? >> >> The script should be run as root as it follows the manual’s >> instructions, which tell people to install Guix for the root user and >> then make it available system-wide. >> >> This is why I think that it would be correct to install it to the root’s >> home directory and not to the sudoing user’s HOME. >> >> Or am I missing something? >> >> > I think Ricardo is right on this one. I would also recommend installing in > root's home directory. But you don't explain why. And "as it follows the manual's instructions" isn't a good reason to me. > I believe, that installing in a user home would make sense only with a > big amount of additional instrumentation and documentation changes, > along with arrangements to allow guix in userspace. I think it would be fairly easy. The kind of edit we do all the time when patches are being reviewed.