delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/01/06/22:00:32

X-Recipient: archive-cygwin AT delorie DOT 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 AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT 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 AT cygwin DOT com
Subject: Re: chmod in cygwin
References: <1262825693 DOT 4b4530dd5583a AT www DOT imp DOT polymtl DOT ca>
In-Reply-To: <1262825693.4b4530dd5583a@www.imp.polymtl.ca>
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

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

- Raw text -


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