delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/05/08/11:29:59

X-Spam-Check-By: sourceware.org
Date: Mon, 8 May 2006 11:29:39 -0400 (EDT)
From: Igor Peshansky <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Magnus Svensson <msvensson AT mysql DOT com>
cc: cygwin AT cygwin DOT com, dave DOT korn AT artimi DOT com
Subject: Re: chmod works only for cygwin processes
In-Reply-To: <445F5103.2090104@mysql.com>
Message-ID: <Pine.GSO.4.63.0605081119560.24916@access1.cims.nyu.edu>
References: <01b001c67299$a339ba30$a501a8c0 AT CAM DOT ARTIMI DOT COM> <445F5103 DOT 2090104 AT mysql DOT com>
MIME-Version: 1.0
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
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

On Mon, 8 May 2006, Magnus Svensson wrote:

> Dave Korn wrote:
>
> > [snip]
> >   Also, please verify that you're running the expected versions of
> > mkdir, chmod, ls, etc. using the 'which' command... it's just possible
> > there's a non-cygwin version in your path.
>
> mysqldev AT win2003-x86:~> pwd
> /home/mysqldev
> mysqldev AT win2003-x86:~> which chmod
> /usr/bin/chmod
> mysqldev AT win2003-x86:~> which mkdir
> /usr/bin/mkdir
> mysqldev AT win2003-x86:~> which ls
> /usr/bin/ls
> mysqldev AT win2003-x86:~> which getfacl
> /usr/bin/getfacl
> mysqldev AT win2003-x86:~> which cacls
> /cygdrive/c/WINDOWS/system32/cacls

FYI, 'which' doesn't know about bash aliases/functions.  You might be
better off using the 'type' bash builtin instead (this is just for the
future, please only report the results to the list if they are different
from the above).
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_	    pechtcha AT cs DOT nyu DOT edu | igor AT watson DOT ibm DOT com
ZZZzz /,`.-'`'    -.  ;-;;,_		Igor Peshansky, Ph.D. (name changed!)
     |,4-  ) )-,_. ,\ (  `'-'		old name: Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte."
"But no -- you are no fool; you call yourself a fool, there's proof enough in
that!" -- Rostand, "Cyrano de Bergerac"

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