X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 	tests=AWL,BAYES_00,SPF_HELO_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <4B454D83.2080700@cygwin.com>
Date: Wed, 06 Jan 2010 21:57:07 -0500
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh@cygwin.com>
Reply-To: cygwin@cygwin.com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.21) Gecko/20090320 Remi/2.0.0.21-1.fc8.remi Lightning/0.9 Thunderbird/2.0.0.21 Mnenhy/0.7.5.0
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: chmod in cygwin
References: <1262825693.4b4530dd5583a@www.imp.polymtl.ca>
In-Reply-To: <1262825693.4b4530dd5583a@www.imp.polymtl.ca>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

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

