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


On 01/06/2010 07:54 PM, Linda Armelle Nzumotcha Tchoumkam wrote:
My program is "ab.exe" included in "C:/Program Files/Flow"

I attempt with :
"chmod a+x /cygdrive/c/Program/flow" and "chmod a+x
/cygdrive/c/Program/flow/ab.exe",

Operator error. If "ab.exe" is in "C:/Program Files/Flow" then the POSIX path for that is "/cygdrive/c/Program Files/Flow/ab.exe". So when you were told "No such file or directory", that was the truth.

"chmod a+x /cygdrive/c/Program/flow"
"./ab.exe" or "./ab"

nothing happen.

when i say "nothing" is "the program doesn't run (i think because i don't see
anything)"

First, I have no idea what "ab.exe" is so I can't know whether it should or shouldn't
do anything visible when you invoke it. Perhaps you should try it from a DOS
prompt first to see if it does anything there. It's also not clear what directory
you are in when you try to run "ab.exe". You say it's in one directory, try to
"chmod" it in another, and then try to run it from what could very well be a third.


If you aren't familiar with Unix/Linux environments and the tools, you might consider
consulting some resources to teach you about some of the basics before proceeding.
It could save you allot of time.


--
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

_____________________________________________________________________

A: Yes.
> Q: Are you sure?
>> A: Because it reverses the logical flow of conversation.
>>> Q: Why is top posting annoying in email?

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


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