This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: chmod works only for cygwin processes
- From: Igor Peshansky <pechtcha at cs dot nyu dot edu>
- To: Magnus Svensson <msvensson at mysql dot com>
- Cc: cygwin at cygwin dot com, dave dot korn at artimi dot com
- Date: Mon, 8 May 2006 11:29:39 -0400 (EDT)
- Subject: Re: chmod works only for cygwin processes
- References: <01b001c67299$a339ba30$a501a8c0@CAM.ARTIMI.COM> <445F5103.2090104@mysql.com>
- Reply-to: 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@win2003-x86:~> pwd
> /home/mysqldev
> mysqldev@win2003-x86:~> which chmod
> /usr/bin/chmod
> mysqldev@win2003-x86:~> which mkdir
> /usr/bin/mkdir
> mysqldev@win2003-x86:~> which ls
> /usr/bin/ls
> mysqldev@win2003-x86:~> which getfacl
> /usr/bin/getfacl
> mysqldev@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@cs.nyu.edu | igor@watson.ibm.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/