From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1JShrD-0003HJ-JI for garchives@archives.gentoo.org; Sat, 23 Feb 2008 00:03:11 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E3FC4E051D; Sat, 23 Feb 2008 00:03:09 +0000 (UTC) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.176]) by pigeon.gentoo.org (Postfix) with ESMTP id CBAC4E051D for ; Sat, 23 Feb 2008 00:03:09 +0000 (UTC) Received: by py-out-1112.google.com with SMTP id w53so722222pyg.25 for ; Fri, 22 Feb 2008 16:03:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date:user-agent:references:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:message-id; bh=GZL5jHlkd9TvE4uN9mlYEZYrXCfIwW8Qq7G2Rja6yl0=; b=SHRknMxneimnJ3s/6ZU+3wHwDza1ufqq2ILSNzL9lMx8ICU25wl4RsPbwTAvjxf9aVZ4KJC0XG7VqTtvLiM3HWXujKzdY78raedaWJcvXJKScRLSxQko4Ghsvix4NgdXajmxvDQw3F0v+mrRN5DSic7P9EiVTcpOSDzNz6MmFeU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:references:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:message-id; b=LzkUYDouTHS55fcIuCMk6ODY1MCO4lWA6IErop7Uff+imNXhJgSM63W2yiyvVIGGiyT+dwL+50IXyI/kRInY+HSIqJZzuUIvTk/pyIvVZfuCBqbjrnCfTOzX+QaSnK8UrIJzRAaWIxDR0sG1IFtEAVYHqF0IBC4ygZ5DujN+HsY= Received: by 10.65.139.9 with SMTP id r9mr1344128qbn.71.1203724989450; Fri, 22 Feb 2008 16:03:09 -0800 (PST) Received: from ?10.0.0.3? ( [41.243.209.57]) by mx.google.com with ESMTPS id f6sm776189nfh.21.2008.02.22.16.03.06 (version=SSLv3 cipher=OTHER); Fri, 22 Feb 2008 16:03:08 -0800 (PST) From: Alan McKinnon To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] emerge can not work ! Date: Sat, 23 Feb 2008 01:59:30 +0200 User-Agent: KMail/1.9.7 References: <47BBE66A.6010603@free.fr> <50ba04d20802210425i609a3fd0j4ebb7edb210b742@mail.gmail.com> <47BF17C5.3070007@gmail.com> In-Reply-To: <47BF17C5.3070007@gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200802230159.30839.alan.mckinnon@gmail.com> X-Archives-Salt: 00b569ad-334b-48e3-8717-465034e254b2 X-Archives-Hash: cb87d861b96b7d7c1424d22aa80b38d6 On Friday 22 February 2008, Eric Martin wrote: > Matthias Guede wrote: > > Make sure your working directory is in the path: > > > > PATH="${PATH}:./" ./python /usr/bin/emerge python > > !!Big security hole!! ./ is purposely left out of the path so people > can't sneak fake programs in there. > > ~eric Very true but in this specific case it is superfluous. With the sample command given, the PATH will not be searched at all as all executables are accessed via their directory path. But you are correct with the warning. People do this solely and only because Windows does it and some folk are used to it. But WE all know that Windows is brain-dead :-) Kids, don't try this at home and dream up false reasons to put . in your PATH -- Alan McKinnon alan dot mckinnon at gmail dot com -- gentoo-user@lists.gentoo.org mailing list