delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/10/06/14:56:50

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
Message-ID: <3F81BA8C.DB1418D7@ieee.org>
Date: Mon, 06 Oct 2003 14:55:08 -0400
From: "Pierre A. Humblet" <Pierre DOT Humblet AT ieee DOT org>
Reply-To: Pierre DOT Humblet AT ieee DOT org
X-Accept-Language: en,pdf
MIME-Version: 1.0
To: James D Below <James DOT Below AT grc DOT nasa DOT gov>
CC: cygwin AT cygwin DOT com
Subject: Re: messed up user permissions from w2k terminal session
References: <Pine DOT GSO DOT 4 DOT 56 DOT 0310031710320 DOT 15176 AT slinky DOT cs DOT nyu DOT edu>
<5 DOT 1 DOT 1 DOT 5 DOT 2 DOT 20031003155210 DOT 01a43a98 AT popserve DOT grc DOT nasa DOT gov>
<5 DOT 1 DOT 1 DOT 5 DOT 2 DOT 20031003155210 DOT 01a43a98 AT popserve DOT grc DOT nasa DOT gov> <5 DOT 1 DOT 1 DOT 5 DOT 2 DOT 20031006130729 DOT 01ac7b40 AT popserve DOT grc DOT nasa DOT gov>

James D Below wrote:
> 
> If I knew installing a snopshot was so convenient and easy, I would have
> done it prior to sending out my previous response.
> 
> I installed the cygwin-inst-20031002.tar.bz2 but the error still occurs.
> 
> Here is how I reproduce the error:
> I launch my rdp Terminal Server Client, connect to server, log in as a user
> and run a cmd prompt window, then run H:\cygwin\cywin.bat. The
> CreateFileMapping Win32 error 5 comes up.  This only occurs from a
> non-admin account.

In your initial post you wrote "The administrator account doesn't experience 
problem. A user account belonging in the Administrators group does."

Is the most recent experiment, is the user in question in the Administrators
group?
Also, prior to launching H:\cygwin\cywin.bat, is there any other Cygwin 
process running under that user name on the machine?
Could you try again when there is absolutely no Cygwin process running?

> When I walk up to the console and login, cywin 1.5.5.1 runs just fine.
> 
> The problem does *not* occur in version cygwin version 1.3.22-1

Yep, a security hole was fixed in recent versions, but somehow now there
is "too much" security. I have a theory but I don't have easy access to a 
terminal server to experiment.

So here are two more questions;
1) When you run 1.3.22 and you do ps -a from a Terminal Server session, do you
see all Cygwin processes on the machine or only yours?
2) With 1.5.5, can you run simple Cygwin processes, such as ps or cat,
from the cmd prompt window? 

Thanks,

Pierre

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