delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/07/30/04:50:21

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
From: "John Morrison" <john DOT r DOT morrison AT ntlworld DOT com>
To: "'Cygwin-List'" <cygwin AT sources DOT redhat DOT com>
Subject: RE: FAQ or bash bug with ntsec? (WAS: Help request: bash with PATH problems)
Date: Tue, 30 Jul 2002 09:50:13 +0100
Message-ID: <NCEBJJFMCAOKNNABBFIMAEGNCEAA.john.r.morrison@ntlworld.com>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
Importance: Normal
In-Reply-To: <1264BCF4F426D611B0B00050DA782A50027EFF97@mail.gft.com>

*Many* thanks for solving this.  I run 3 copies of cygwin; desktop
at home, laptop and desktop at work.  The desktop at home showed
this issue and I was unable to figure out why.

Could this be put in a FAQ somewhere please?

J.

> From: Schaible, Jörg
>
> Hello all,
>
> lately I found the reason for this odd behaviour that my path is
> ignored in
> bash. The main reason causing it was the activation of ntsec in my new
> profile. After activation /bin/find.exe has follwing settings:
>
> $ ls -l /bin/find.exe
> -rwx------    1 admins   nobody      78848 20. May 05:39 /bin/find.exe
>
> while the other find has:
>
> $ ls -l /cygdrive/c/WINNT/system32/find.exe
> -rwxrwxr-x    1 admins   system      10000  4. May 2001
> /cygdrive/c/WINNT/system32/find.exe
>
> bash will find and execute with ntsec always
> /cygdrive/c/WINNT/system32/find.exe independently where the path for
> /cygdrive/c/WINNT/system32 is in the PATH! Applications
> applications in /bin
> will be found and executed if there is no other executable with same name
> (behaviour does not apply to more.exe/more.com) with a "better" ACL.
>
> After changing owner and group of the files and a restart of the shell,
> /bin/find.exe is found first and the system behaves as expected! Note: The
> behaviour could only be observed for bash, any other shell on my system
> (ash, tcsh, zsh, cygtclsh80) did not have this problem.
>
> Regards,
> Jörg


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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