This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Sould . (current dir) be in the PATH


Larry Hall <lh-no-personal-replies-please@cygwin.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]