Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] emerge can not work !
Date: Sat, 23 Feb 2008 00:03:11
Message-Id: 200802230159.30839.alan.mckinnon@gmail.com
In Reply to: Re: [gentoo-user] emerge can not work ! by Eric Martin
1 On Friday 22 February 2008, Eric Martin wrote:
2 > Matthias Guede wrote:
3 > > Make sure your working directory is in the path:
4 > >
5 > > PATH="${PATH}:./" ./python /usr/bin/emerge python
6 >
7 > !!Big security hole!! ./ is purposely left out of the path so people
8 > can't sneak fake programs in there.
9 >
10 > ~eric
11
12 Very true but in this specific case it is superfluous.
13
14 With the sample command given, the PATH will not be searched at all as
15 all executables are accessed via their directory path.
16
17 But you are correct with the warning. People do this solely and only
18 because Windows does it and some folk are used to it. But WE all know
19 that Windows is brain-dead :-)
20
21 Kids, don't try this at home and dream up false reasons to put . in your
22 PATH
23
24 --
25 Alan McKinnon
26 alan dot mckinnon at gmail dot com
27
28 --
29 gentoo-user@l.g.o mailing list