delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/01/16/14:21:03

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=BAYES_00,SPF_NEUTRAL
X-Spam-Check-By: sourceware.org
Message-ID: <4B52119B.4020300@cornell.edu>
Date: Sat, 16 Jan 2010 14:20:59 -0500
From: Ken Brown <kbrown AT cornell DOT edu>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.5) Gecko/20091204 Thunderbird/3.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: bash: /usr/bin/emacs :permission denied
References: <295004 DOT 23672 DOT qm AT web94914 DOT mail DOT in2 DOT yahoo DOT com>
In-Reply-To: <295004.23672.qm@web94914.mail.in2.yahoo.com>
X-IsSubscribed: yes
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 1/16/2010 12:09 PM, mahesh p wrote:
> I tried to switch off autosave in emacs.So i added set set default
> autosave to 1 in emacs system file but it didn't work.So i deleted it
> from the file.
> Now when i try to run emacs from the cygwin console it says bash:
> /usr/bin/emacs :permission denied.
> I am not able to run emacs now.
> I am using emacs 23.

Please send questions to the mailing list, not to me personally.

I don't know what you mean by "emacs system file".  But my best guess is 
that you accidentally messed up the permissions on some file.  For 
starters, you could try 'ls -l /usr/bin/emacs*' and see if the 
permissions look right.  Or you could just rerun setup.exe and reinstall 
the emacs package.

Ken

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