From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: bug#31814: setuid programs are not first in PATH Date: Sat, 16 Jun 2018 11:35:05 +0200 Message-ID: <87muvv5b1y.fsf@elephly.net> References: <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]:44781) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fU7cs-0001S5-It for bug-guix@gnu.org; Sat, 16 Jun 2018 05:36:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fU7co-0002Tg-Ls for bug-guix@gnu.org; Sat, 16 Jun 2018 05:36:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:43095) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fU7co-0002Sc-El for bug-guix@gnu.org; Sat, 16 Jun 2018 05:36:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fU7co-0007Az-4g for bug-guix@gnu.org; Sat, 16 Jun 2018 05:36:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-reply-to: <87602mu57o.fsf@lassieur.org> 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?Cl=C3=A9ment?= Lassieur Cc: 31814@debbugs.gnu.org Cl=C3=A9ment Lassieur writes: > 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/= setuid-programs:... > > and a command like 'ping' is found in ~/.guix-profile/bin, which makes > it unusable. What package in your profile provides =E2=80=9Cping=E2=80=9D? --=20 Ricardo