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@cygwin.com>
Reply-To: cygwin@cygwin.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@cygwin.com
Subject: Re: file permission question
References: <20060507161009.50621.qmail@web36809.mail.mud.yahoo.com>
In-Reply-To: <20060507161009.50621.qmail@web36809.mail.mud.yahoo.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
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

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/

