delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/09/15/13:30:18

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
To: cygwin AT cygwin DOT com
From: david AT adboyd DOT com (J. David Boyd)
Subject: Re: Sould . (current dir) be in the PATH
Date: Thu, 15 Sep 2005 13:24:19 -0400
Lines: 25
Message-ID: <m3oe6umegs.fsf@jdb.homelinux.org>
References: <OF27F6C534 DOT D2367F7D-ONC125707D DOT 00517FAD-C125707D DOT 00536B1C AT dk DOT ibm DOT com> <6 DOT 2 DOT 1 DOT 2 DOT 0 DOT 20050915130441 DOT 038d2c78 AT pop DOT prospeed DOT net>
Mime-Version: 1.0
User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)
X-IsSubscribed: yes

Larry Hall <lh-no-personal-replies-please AT cygwin DOT com> writes:

> At 11:10 AM 9/15/2005, you wrote:
>>Hi,
>>
>>I just discovered that . (current directory) is in my PATH. I installed
>>cygwin on my new laptop some weeks ago. I don't think . was in my PATH on
>>my old PC. First I thought it came from my windows PATH, but it does not.
>>
>>Is . normally in the PATH (it was not on a few solaris systems I just
>>checked, but that does not prove anything).
>>
>>It is even twice in my PATH, as the last entry, and just after
>>/cygdrive/c/Infoprint.
>>
>
> '.' is typically not put in the path by default for security reasons.
>
>

But then again, this is Cygwin, and how many _other_ people are going to be on
this machine?  I have '.' in my path, as I like to keep different scripts that
apply to certain directories in the affected directory.

Dave


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019