From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pjotr Prins Subject: Re: New =?utf-8?B?4oCYZ3VpeCBwdWxs?= =?utf-8?B?4oCZ?= /root/.config/current/bin/guix: Permission denied Date: Fri, 13 Jul 2018 11:08:44 +0200 Message-ID: <20180713090844.5lkhw4v4ujd3kil7@thebird.nl> References: <87y3fogt8e.fsf@gnu.org> <87sh4ore3y.fsf@gmail.com> <20180712110438.gr3agufho7h63hel@thebird.nl> <87o9fcr11f.fsf@elephly.net> <20180712142045.uyxksvqgrl7zz3z5@thebird.nl> <87muuwr0i9.fsf@elephly.net> <20180712164456.o3nhmhqobo5idilg@thebird.nl> <20180713083902.vwd32bltq35pwe5o@thebird.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48544) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fdu4I-0003Mw-3E for guix-devel@gnu.org; Fri, 13 Jul 2018 05:08:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fdu4E-0008QD-UI for guix-devel@gnu.org; Fri, 13 Jul 2018 05:08:50 -0400 Received: from mail.thebird.nl ([94.142.245.5]:58226) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fdu4E-0008PW-MP for guix-devel@gnu.org; Fri, 13 Jul 2018 05:08:46 -0400 Content-Disposition: inline In-Reply-To: <20180713083902.vwd32bltq35pwe5o@thebird.nl> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Pjotr Prins Cc: guix-devel 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 root@penguin2:~/.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.