public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* RE: Continued: small DOS program fails (Permission Denied) when run f rom Bash in XEmacs
@ 2001-05-02 13:38 Karr, David
  2001-05-02 13:59 ` Continued: small DOS program fails (Permission Denied) when r un " Larry Hall (RFK Partners, Inc)
  0 siblings, 1 reply; 4+ messages in thread
From: Karr, David @ 2001-05-02 13:38 UTC (permalink / raw)
  To: 'Larry Hall (RFK Partners, Inc)',
	Karr, David, 'cygwin@cygwin.com'

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@rfk.com ]
Sent: Wednesday, May 02, 2001 1:04 PM
To: Karr, David; 'cygwin@cygwin.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 Hall                              lhall@rfk.com
RFK Partners, Inc.                      http://www.rfk.com
118 Washington Street                   (508) 893-9779 - RFK Office
Holliston, MA 01746                     (508) 893-9889 - FAX

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: Continued: small DOS program fails (Permission Denied) when r un f rom Bash in XEmacs
  2001-05-02 13:38 Continued: small DOS program fails (Permission Denied) when run f rom Bash in XEmacs Karr, David
@ 2001-05-02 13:59 ` Larry Hall (RFK Partners, Inc)
  2001-05-02 19:15   ` David M. Karr
  0 siblings, 1 reply; 4+ messages in thread
From: Larry Hall (RFK Partners, Inc) @ 2001-05-02 13:59 UTC (permalink / raw)
  To: Karr, David, 'cygwin@cygwin.com'

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@rfk.com ]
>Sent: Wednesday, May 02, 2001 1:04 PM
>To: Karr, David; 'cygwin@cygwin.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.



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



Larry Hall                              lhall@rfk.com
RFK Partners, Inc.                      http://www.rfk.com
118 Washington Street                   (508) 893-9779 - RFK Office
Holliston, MA 01746                     (508) 893-9889 - FAX


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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Continued: small DOS program fails (Permission Denied) when r un f rom Bash in XEmacs
  2001-05-02 13:59 ` Continued: small DOS program fails (Permission Denied) when r un " Larry Hall (RFK Partners, Inc)
@ 2001-05-02 19:15   ` David M. Karr
  2001-05-02 20:46     ` Larry Hall (RFK Partners, Inc)
  0 siblings, 1 reply; 4+ messages in thread
From: David M. Karr @ 2001-05-02 19:15 UTC (permalink / raw)
  To: Larry Hall (RFK Partners, Inc); +Cc: Karr, David, 'cygwin@cygwin.com'

>>>>> "Larry" == Larry Hall <(RFK Partners, Inc)" <lhall@rfk.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@rfk.com ] Sent: Wednesday, May 02, 2001 1:04 PM To: Karr,
    >> David; 'cygwin@cygwin.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@earthlink.net   ; Java/Unix/XML/C++/X ; BrainBench CJ12P (#12004)


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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Continued: small DOS program fails (Permission Denied) when r un f rom Bash in XEmacs
  2001-05-02 19:15   ` David M. Karr
@ 2001-05-02 20:46     ` Larry Hall (RFK Partners, Inc)
  0 siblings, 0 replies; 4+ messages in thread
From: Larry Hall (RFK Partners, Inc) @ 2001-05-02 20:46 UTC (permalink / raw)
  To: David M. Karr; +Cc: Karr, David, 'cygwin@cygwin.com'

At 10:15 PM 5/2/2001, David M. Karr wrote:
> >>>>> "Larry" == Larry Hall <(RFK Partners, Inc)" <lhall@rfk.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@rfk.com ] Sent: Wednesday, May 02, 2001 1:04 PM To: Karr,
>     >> David; 'cygwin@cygwin.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.


set CYGWIN=ntsec
bash --login

See the user's guide 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).


Could be.  You apparently have a domain account.  This won't be part of the
local administrators group I'm assuming.  This should only be a problem if
ntsec is set (see above) AFAIK but you might eliminate that as a variable 
by logging is as a local user which is part of the local administrators 
group.



Larry


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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2001-05-02 20:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-05-02 13:38 Continued: small DOS program fails (Permission Denied) when run f rom Bash in XEmacs Karr, David
2001-05-02 13:59 ` Continued: small DOS program fails (Permission Denied) when r un " Larry Hall (RFK Partners, Inc)
2001-05-02 19:15   ` David M. Karr
2001-05-02 20:46     ` Larry Hall (RFK Partners, Inc)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).