unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#31814: setuid programs are not first in PATH
@ 2018-06-13 14:32 Clément Lassieur
  2018-06-13 15:05 ` Joshua Branson
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Clément Lassieur @ 2018-06-13 14:32 UTC (permalink / raw)
  To: 31814

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.

Clément

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2018-06-19 10:27 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-13 14:32 bug#31814: setuid programs are not first in PATH Clément Lassieur
2018-06-13 15:05 ` Joshua Branson
2018-06-13 15:06   ` Julien Lepiller
2018-06-13 15:06   ` Clément Lassieur
2018-06-14 14:01     ` Joshua Branson
2018-06-16  9:35 ` Ricardo Wurmus
2018-06-16 22:35   ` Clément Lassieur
2018-06-17 21:07 ` Ludovic Courtès
2018-06-18  6:16   ` Clément Lassieur
2018-06-19  9:29     ` Ludovic Courtès
2018-06-19 10:26       ` Clément Lassieur
2018-06-18 13:40   ` Marius Bakke

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).