From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joshua Branson Subject: bug#31814: setuid programs are not first in PATH Date: Wed, 13 Jun 2018 11:05:37 -0400 Message-ID: <87wov2afr2.fsf@fastmail.com> 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]:55220) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fT7Gm-0001ys-Oj for bug-guix@gnu.org; Wed, 13 Jun 2018 11:01:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fT7Gg-0005qL-UM for bug-guix@gnu.org; Wed, 13 Jun 2018 11:01:08 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:38855) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fT7Gg-0005pt-QN for bug-guix@gnu.org; Wed, 13 Jun 2018 11:01:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fT7Gg-0007fp-Ed for bug-guix@gnu.org; Wed, 13 Jun 2018 11:01:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55022) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fT7Fq-0001Rj-9Y for bug-guix@gnu.org; Wed, 13 Jun 2018 11:00:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fT7Fl-0003MB-LJ for bug-guix@gnu.org; Wed, 13 Jun 2018 11:00:10 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:37681) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fT7Fl-0003Kp-FI for bug-guix@gnu.org; Wed, 13 Jun 2018 11:00:05 -0400 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id BD58A21D54 for ; Wed, 13 Jun 2018 11:00:04 -0400 (EDT) Received: from dobby (unknown [72.12.220.132]) by mail.messagingengine.com (Postfix) with ESMTPA id 6A0D2E4BB5 for ; Wed, 13 Jun 2018 11:00:04 -0400 (EDT) In-Reply-To: <87602mu57o.fsf@lassieur.org> ("=?UTF-8?Q?Cl=C3=A9ment?= Lassieur"'s message of "Wed, 13 Jun 2018 16:32:59 +0200") 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 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. I'm probably being really silly, but shouldn't it still work? I mean ~/.guix-profile/bin is still in your path right? > > Cl=C3=A9ment