[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#30728: guix-install.sh doesn't work if run with "sudo"
From: |
Clément Lassieur |
Subject: |
bug#30728: guix-install.sh doesn't work if run with "sudo" |
Date: |
Tue, 27 Mar 2018 11:11:36 +0200 |
User-agent: |
mu4e 1.0; emacs 25.3.1 |
Ricardo Wurmus <address@hidden> writes:
> Clément Lassieur <address@hidden> writes:
>
>>> The manual says (see: (guix) Binary Installation):
>>>
>>> 3. Make ‘root’’s profile available under ‘~/.guix-profile’:
>>>
>>> # ln -sf /var/guix/profiles/per-user/root/guix-profile \
>>> ~root/.guix-profile
>>
>> I think the manual is wrong here. This only makes sense if the user is
>> 'root'. Otherwise, the user would expect Guix to be installed in their
>> home, not in root's home.
>
> Step 2 says “As root, run: […]”. “~root” resolves to “/root”, not to
> “$HOME/root”, so it even works when run as a regular user.
>
> The manual seems correct to me and this is what the script aims to
> implement.
But ~/.guix-profile may resolve to /home/user/.guix-profile. So it
should be ~root/.guix-profile instead of ~/.guix-profile.
- bug#30728: guix-install.sh doesn't work if run with "sudo", Clément Lassieur, 2018/03/06
- bug#30728: guix-install.sh doesn't work if run with "sudo", Clément Lassieur, 2018/03/23
- bug#30728: guix-install.sh doesn't work if run with "sudo", Chris Marusich, 2018/03/25
- bug#30728: guix-install.sh doesn't work if run with "sudo", Clément Lassieur, 2018/03/26
- bug#30728: guix-install.sh doesn't work if run with "sudo", Marius Bakke, 2018/03/26
- bug#30728: guix-install.sh doesn't work if run with "sudo", Ricardo Wurmus, 2018/03/27
- bug#30728: guix-install.sh doesn't work if run with "sudo",
Clément Lassieur <=
- bug#30728: guix-install.sh doesn't work if run with "sudo", Chris Marusich, 2018/03/27
- bug#30728: guix-install.sh doesn't work if run with "sudo", Ricardo Wurmus, 2018/03/28
- bug#30728: guix-install.sh doesn't work if run with "sudo", Chris Marusich, 2018/03/29
- bug#30728: guix-install.sh doesn't work if run with "sudo", Clément Lassieur, 2018/03/29
- bug#30728: guix-install.sh doesn't work if run with "sudo", Clément Lassieur, 2018/03/29
- bug#30728: guix-install.sh doesn't work if run with "sudo", Ricardo Wurmus, 2018/03/29
- bug#30728: guix-install.sh doesn't work if run with "sudo", Clément Lassieur, 2018/03/30
- bug#30728: guix-install.sh doesn't work if run with "sudo", Clément Lassieur, 2018/03/29