[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: New ‘guix pull’ /root/.config/current/bin/guix: Permission denied
From: |
Pjotr Prins |
Subject: |
Re: New ‘guix pull’ /root/.config/current/bin/guix: Permission denied |
Date: |
Fri, 13 Jul 2018 11:48:01 +0200 |
User-agent: |
NeoMutt/20170113 (1.7.2) |
grep 8ahlc84zaj0iw9jpsdpa9wx4ms0s9cma -R ~/.config/guix/
Binary file /home/pjotr/.config/guix/current/bin/guix-daemon matches
Binary file /home/pjotr/.config/guix/current-2-link/bin/guix-daemon matches
Binary file /home/pjotr/.config/guix/current-3-link/bin/guix-daemon matches
grep 8ahlc84zaj0iw9jpsdpa9wx4ms0s9cma -R
/gnu/store/a5cixasz02ynhppna33zxymxahp3vl13-guix-ecba50bb7
Binary file
/gnu/store/a5cixasz02ynhppna33zxymxahp3vl13-guix-ecba50bb7/bin/guix-daemon
matches
Note ecba50bb7 is the guix installed with guix pull earlier... Weirness.
Pj.
On Fri, Jul 13, 2018 at 11:08:44AM +0200, Pjotr Prins wrote:
> On Fri, Jul 13, 2018 at 10:39:02AM +0200, Pjotr Prins wrote:
> > This is a blocker since I can't build from source either.
> > /root/.config/current/bin/guix exists and gives
> >
> > guix (GNU Guix) ecba50bb79a49b317c4b1e718f4732b36438227f
> >
> > Apparently the user client need to access /root. What to do?
>
> Another thing we may want to change is /root/.config/current to
> /root/.config/guix/current like in the $HOME/.config/guix/current.
>
> So, I am trying all options, even when running guix-daemon from
> /home/pjotr/.config/guix/current i get the same error. E.g.,
>
> /home/pjotr/.config/guix/current/bin/guix-daemon
> --build-users-group=guixbuild
>
> The environment for the daemon is
>
> address@hidden:~/.config# set
> BASH=/bin/bash
> PATH=/home/pjotr/.config/guix/current/bin
> UID=0
> USER=root
> USERNAME=root
>
> Running the client with
>
> env GUIX_PACKAGE_PATH=../guix-bioinformatics/
> /home/pjotr/.config/guix/current/bin/guix package -i gemma-dev-env
> --substitute-urls="https://berlin.guixsd.org https://mirror.hydra.gnu.org" -p
> ~/opt/gemma-dev-env
>
> (just so I have to build something)
>
> It appears the daemon in /home/pjotr/.config/guix/current/bin/guix-daemon
> wants to pick up
>
>
> /gnu/store/8ahlc84zaj0iw9jpsdpa9wx4ms0s9cma-guix-daemon-0.15.0-1.4876bc8/libexec/guix/download:
> line 8: /root/.config/current/bin/guix: Permission denied
>
> /gnu/store/8ahlc84zaj0iw9jpsdpa9wx4ms0s9cma-guix-daemon-0.15.0-1.4876bc8/libexec/guix/download:
> line 8: exec: /root/.config/current/bin/guix: cannot execute: Permission
> denied
>
> Not sure what is happening here. Why is it looking in /root? And why is it
> using a different non-pull version of guix
> /gnu/store/8ahlc84zaj0iw9jpsdpa9wx4ms0s9cma-guix-daemon-0.15.0-1.4876bc8 which
> is different from the one I am running? How does it look for this tool and
> find
> it in the wrong path?
>
> Even when symlinking /root/.config/current ->
> /home/pjotr/.config/guix/current I get the same error.
>
> Pj.
>
- Re: New ‘guix pull’ - guile-sqlite3 problem, (continued)
- Re: New ‘guix pull’, Ricardo Wurmus, 2018/07/12
- Re: New ‘guix pull’, Pjotr Prins, 2018/07/12
- Re: New ‘guix pull’, Ricardo Wurmus, 2018/07/12
- Re: New ‘guix pull’, Pjotr Prins, 2018/07/12
- Re: New ‘guix pull’ /root/.config/current/bin/guix: Permission denied, Pjotr Prins, 2018/07/13
- Re: New ‘guix pull’ /root/.config/current/bin/guix: Permission denied, Pjotr Prins, 2018/07/13
- Re: New ‘guix pull’ /root/.config/current/bin/guix: Permission denied,
Pjotr Prins <=
- Re: New ‘guix pull’ /root/.config/current/bin/guix: Permission denied, Pjotr Prins, 2018/07/13
- Re: New ‘guix pull’ /root/.config/current/bin/guix: Permission denied, Ludovic Courtès, 2018/07/13
- Re: New ‘guix pull’ /root/.config/current/bin/guix: Permission denied, Pjotr Prins, 2018/07/13
- Re: New ‘guix pull’, Pjotr Prins, 2018/07/13
Re: New ‘guix pull’, Ludovic Courtès, 2018/07/12