delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/05/02/22:46:46

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
To: "Larry Hall (RFK Partners, Inc)" <lhall AT rfk DOT com>
Cc: "Karr, David" <david DOT karr AT cacheflow DOT com>,
"'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com>
Subject: Re: Continued: small DOS program fails (Permission Denied) when r un f rom Bash in XEmacs
References: <4 DOT 3 DOT 1 DOT 2 DOT 20010502165443 DOT 0232dd68 AT pop DOT ma DOT ultranet DOT com>
From: dmkarr AT earthlink DOT net (David M. Karr)
Date: 02 May 2001 19:15:18 -0700
In-Reply-To: <4.3.1.2.20010502165443.0232dd68@pop.ma.ultranet.com>
Message-ID: <86sninw53d.fsf@earthlink.net>
Lines: 37
User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Crater Lake)
MIME-Version: 1.0

>>>>> "Larry" == Larry Hall <(RFK Partners, Inc)" <lhall AT rfk DOT com>> writes:

    Larry> At 04:39 PM 5/2/2001, Karr, David wrote:
    >> Verified.  I got it working outside of XEmacs, verifying it produced an
    >> output file, then I removed the output file and reran it inside XEmacs,
    >> and the output file was not created.  It still fails with "Permission
    >> Denied" in XEmacs.
    >> 
    >> -----Original Message----- From: Larry Hall (RFK Partners, Inc)
    >> [mailto:lhall AT rfk DOT com] Sent: Wednesday, May 02, 2001 1:04 PM To: Karr,
    >> David; 'cygwin AT cygwin DOT com' Subject: Re: Continued: small DOS program
    >> fails (Permission Denied) when run f rom Bash in XEmacs
    >> 
    >> 
    >> At 01:22 PM 5/2/2001, Karr, David wrote:
    >> >"Permission Denied".  I put a printf at the top of "main", and it isn't
    >> >getting there.  I would really appreciate some help understanding what
    >> is >going on here.
    >> 
    >> 
    >> Just because you don't see output doesn't mean it didn't get there.  Try
    >> writing to a file, flush it, and close it.

    Larry> OK, running with ntsec set in your CYGWIN environment variable?

I don't know about that.  Could you give me a quick summary of how that works?
I'll check the Cygwin user guide later for more details.

Would this have something to do with whether Cygwin knows you as your login
name or as "administrator"?  I realize that the people in my group who don't
have this same symptom always are known as "administrator" in Cygwin.  I always
set up my Cygwin installation so it knows my name (mkpasswd -d > /etc/passwd).

-- 
===================================================================
David M. Karr          ; Best Consulting
dmkarr AT earthlink DOT net   ; Java/Unix/XML/C++/X ; BrainBench CJ12P (#12004)


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019