delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/05/07/17:35:25

X-Spam-Check-By: sourceware.org
Message-ID: <445E67F3.3010104@cygwin.com>
Date: Sun, 07 May 2006 17:34:43 -0400
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) Gecko/20051223 Fedora/1.5-0.2.fc4.remi Thunderbird/1.5 Mnenhy/0.7.3.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: file permission question
References: <20060507161009 DOT 50621 DOT qmail AT web36809 DOT mail DOT mud DOT yahoo DOT com>
In-Reply-To: <20060507161009.50621.qmail@web36809.mail.mud.yahoo.com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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

chen li wrote:
> Dear all,
> 
> I am new to Cygwin. When I try to execute a  file call
> example.exe I get such message:
> 
> bash: ./first.exe: Permission denied
> 
> so I use chmod a+rx to change the file permisssion and
> here is the result:
> -rwxrwxrwx  1 chen41 mkgroup-l-d 11241 May  6 18:40
> first.exe.
> 
> But when I type ./first.exe(or first) I still get the
> same message: 
> 
> bash: ./first.exe: Permission denied.
> 
> 
> What am I supposed to do now?
> 


First, please read and follow the problem reporting guidelines given at:
> Problem reports:       http://cygwin.com/problems.html


Without the basic configuration information that the guidelines recommend
providing, people on this list are going to have guess about some important
factors of your installation.

I'd recommend starting with regenerating your /etc/group file like this:

mkgroup -l -d >/etc/group

This may or may not be enough to get things working as you expect them to
but it's definitely an area that the information you did give points to.



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

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

- Raw text -


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