X-Spam-Check-By: sourceware.org Date: Mon, 8 May 2006 11:29:39 -0400 (EDT) From: Igor Peshansky Reply-To: cygwin AT cygwin DOT com To: Magnus Svensson 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: References: <01b001c67299$a339ba30$a501a8c0 AT CAM DOT ARTIMI DOT COM> <445F5103 DOT 2090104 AT mysql DOT com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: 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 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/