Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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" To: "'Cygwin-List'" 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: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit 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/