From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?Q?Cl=C3=A9ment?= Lassieur Subject: bug#31814: setuid programs are not first in PATH Date: Wed, 13 Jun 2018 16:32:59 +0200 Message-ID: <87602mu57o.fsf@lassieur.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48610) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fT6qb-0003pV-HP for bug-guix@gnu.org; Wed, 13 Jun 2018 10:34:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fT6qY-0005qf-6X for bug-guix@gnu.org; Wed, 13 Jun 2018 10:34:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:38839) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fT6qY-0005pZ-2i for bug-guix@gnu.org; Wed, 13 Jun 2018 10:34:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fT6qX-00073R-TO for bug-guix@gnu.org; Wed, 13 Jun 2018 10:34:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48282) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fT6pg-00037Y-8I for bug-guix@gnu.org; Wed, 13 Jun 2018 10:33:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fT6pc-0003Wb-2I for bug-guix@gnu.org; Wed, 13 Jun 2018 10:33:08 -0400 Received: from mail.lassieur.org ([83.152.10.219]:49972) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fT6pb-0003MZ-MN for bug-guix@gnu.org; Wed, 13 Jun 2018 10:33:03 -0400 Received: from newt (smtp.parrot.biz [62.23.167.188]) by mail.lassieur.org (OpenSMTPD) with ESMTPSA id 278f6b8c (TLSv1.2:ECDHE-RSA-CHACHA20-POLY1305:256:NO) for ; Wed, 13 Jun 2018 14:32:59 +0000 (UTC) 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: 31814@debbugs.gnu.org Hi, sourcing /etc/profile - prepends /run/setuid-programs to $PATH - then sources $HOME/.guix-profile/etc/profile and sourcing $HOME/.guix-profile/etc/profile - prepends $HOME/.guix-profile/bin to $PATH - prepends $HOME/.guix-profile/sbin to $PATH so in the end, $PATH looks like: ~/.config/guix/current/bin:~/.guix-profile/bin:~/.guix-profile/sbin:/run/se= tuid-programs:... and a command like 'ping' is found in ~/.guix-profile/bin, which makes it unusable. Cl=C3=A9ment