Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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" Reply-To: Pierre DOT Humblet AT ieee DOT org X-Accept-Language: en,pdf MIME-Version: 1.0 To: James D Below CC: cygwin AT cygwin DOT com Subject: Re: messed up user permissions from w2k terminal session References: <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> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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/