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: 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> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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/