[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#31814: setuid programs are not first in PATH
From: |
Ricardo Wurmus |
Subject: |
bug#31814: setuid programs are not first in PATH |
Date: |
Sat, 16 Jun 2018 11:35:05 +0200 |
User-agent: |
mu4e 1.0; emacs 26.1 |
Clément Lassieur <address@hidden> 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 “ping”?
--
Ricardo