delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/12/02/06:29:45

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Message-ID: <E753DE009440D611B64600021EF1F1DD6224B1@nt-mail.krautkramer.de>
From: "Nguyen, Huu-Dung" <hnguyen AT AgfaNDT DOT de>
To: cygwin AT cygwin DOT com
Subject: BUG?: /usr/bin is accepted as /bin in PATH
Date: Tue, 2 Dec 2003 12:26:59 +0100
MIME-Version: 1.0

Hello

I want to report you a  bug observed by me
I have just (on 27.11.2003) downloaded  CygWin and installed it with all
packages installed on a new laptop with Windows XP. The installation runs
without error.
I have then started Cygwin by the link on the desktop of Windows XP i.e. the
installed /etc/profile is executed. in the cygwin windows Afterwards I see
with cygcheck -s that Cygwin accepted the path /usr/bin set in PATH as /bin
!? The setting of PATH is done with the file /etc/profile provided by CygWin
and my observation is based on cygcheck -s, whose output is attached here,
the file cycheck_s.txt. Please seealso cycheck_s.txt, line

....
Path:	C:\cygwin\usr\local\bin
	C:\cygwin\bin
	C:\cygwin\bin
	C:\cygwin\usr\X11R6\bin
	c:\WINDOWS\system32
	c:\WINDOWS
	c:\WINDOWS\System32\Wbem
	c:\Programme\Gemeinsame Dateien\Adaptec Shared\System

....

to be sure with my observation i have written then a bash file with 2 line

#!/bin/sh
echo "Hello World"

and move this bash file from every directory set for PATH in /etc/profile
and see that i can NOT call this bash file when it is in /usr/bin.

Any help is appreciated


Huu Dung Nguyen







--
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