This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: file permission question
- From: "Larry Hall (Cygwin)" <reply-to-list-only-lh at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Sun, 07 May 2006 17:34:43 -0400
- Subject: Re: file permission question
- References: <20060507161009.50621.qmail@web36809.mail.mud.yahoo.com>
- Reply-to: 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/