delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/04/29/19:05:42

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Reply-To: Cygwin List <cygwin AT cygwin DOT com>
Message-Id: <6.1.0.6.0.20040429185254.03937cf8@127.0.0.1>
X-Sender:
Date: Thu, 29 Apr 2004 19:01:00 -0400
To: ward harold <ward_harold AT yahoo DOT com>, cygwin AT cygwin DOT com
From: Larry Hall <cygwin-lh AT cygwin DOT com>
Subject: Re: Cygwin 1.5.9 Permission Denied Problem
In-Reply-To: <20040429224632.5533.qmail@web50408.mail.yahoo.com>
References: <20040429224632 DOT 5533 DOT qmail AT web50408 DOT mail DOT yahoo DOT com>
Mime-Version: 1.0

At 06:46 PM 4/29/2004, you wrote:
>I just installed the latest Cygwin (1.5.9) on a new
>Win2K laptop that is not part of any domain. I'm
>getting "permission denied" when I try to execute
>programs in a couple of situations. None of the
>obvious remedies have fixed the problem.
>
>Situation One: I've downloaded and built
>scheme48-0.57. It runs fine from the command line.
>After I did a 'chgrp Users' on it I was able to
>successfully 'M-x run-scheme' out of the Cygwin
>version of emacs. When I launch nt-emacs from the
>desktop, however, and attempt 'M-x run-scheme' I get a
>permission error; specifically "permission denied,
>~/software/cygwin/usr/local/bin/scheme48".


Non-Cygwin programs don't understand POSIX paths.  
Unless you've performed some emacs wizardry, that
path won't lead you to anything.  If you do have
some wizardry in there, you might still find you 
need the ".exe" on the end.  


>Situation Two: I unzip an internal build of Java that
>a separate group provides me. I 'chmod a+x' all the
>executables in the distribution and then smoke test
>the JVM by typing: java -version. I'm rewarded with:
>"zsh: permission denied: java" (same thing happens
>with bash, btw). I have a production JDK installed in
>Program\ Files and it works fine. It turns out that
>the production version is owned by
>"Administrators:SYSTEM" so I chown the internal
>version's executables to "Administrator:SYSTEM" but
>the result is the same. Note that I have no problems
>with these internal build on my Win2K workstation
>which (a) is part of a domain, and (b) is running
>Cygwin 1.5.7.


Not sure about this one.  'getfacl' might help.  You 
could try removing "ntea" from your CYGWIN environment 
variable, in case you're getting some weird conflict.


>I'm completely out of ideas any help/suggestions would
>be greatly appreciated at this point.
>
>... WkH
>
>cygcheck -s -v -r yields:


<snip>


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