This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: chmod works only for cygwin processes


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]