delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/01/06/19:55:15

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <1262825693.4b4530dd5583a@www.imp.polymtl.ca>
Date: Wed, 06 Jan 2010 19:54:53 -0500
From: Linda Armelle Nzumotcha Tchoumkam <armelle DOT nzumotcha AT polymtl DOT ca>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: chmod in cygwin
MIME-Version: 1.0
User-Agent: Internet Messaging Program (IMP) 3.2.3
X-Poly-FromMTA: (imp-4-3.polymtl.ca [132.207.4.78]) at Thu, 7 Jan 2010 00:54:54 +0000
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

> If it can be of any help, why don't you try to execute some other
> programs instead of chmod and see if you get the same error,
> for example instead of "chmod a+x /C/Program/flow" something like
> "ls -d /C/Program/flow" and see if works.

> If it does then we can say something can be wrong with chmod, if it
> doesn't then chmod was right and there must be something wrong on
> finding that file with the path you gave ... just a suggestion.
> Cheers
> Dario

"ls -d /C/Program/flow" gives the answer "No such file or directory"


>  have you used chmod before or is it your first time?
> this is determine what type of answer to post
> give a screenshot link to further describe

It was the first time i used chmod

>Just what it says, you probably want:
> chmod a+x /cygdrive/c/Program/flow
> assuming "Program" is not really "Program Files" and "flow" is an actual
> file or directory, not "flow.exe" or something else.
> Hope this helps

flow is not "flow.exe"
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",

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

thanks you.

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019