This is the mail archive of the mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: messed up user permissions from w2k terminal session

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



Unsubscribe info:
Problem reports:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]