delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/08/10/05:15:53

X-Spam-Check-By: sourceware.org
In-Reply-To: <20060810083450.GG20467@calimero.vinschen.de>
To: cygwin AT cygwin DOT com
Subject: Re: CreateFileMapping Problem
MIME-Version: 1.0
X-Mailer: Lotus Notes Release 6.5.1 January 21, 2004
Message-ID: <OFE3512005.53329F64-ONC12571C6.00328EB3-C12571C6.0032D5DF@gom.com>
From: a DOT heider AT gom DOT com
Date: Thu, 10 Aug 2006 11:15:14 +0200
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

hi,

here is more info

> So, just to be sure about this.  You're claiming that it happens when a
> user already has logged on for a while, is running Cygwin for a while?
> And then the above error just happens at one point?  It does not happen
> at the time the user tries to start his or her first Cygwin process?

time of logon does not seem to be dependend on the time of the error in 
our case. neither the time of starting the first cygwin shell if rdesktop 
is used. it definately isnt the first cygwin process that errors out. 
sometimes we get the error just a few minutes after logon, sometimes a few 
hours. as i already mentioned, i have the impression that it seems to 
occur more often/earlier as more users are compiling at the same time.
our nightly build, for example, broke at library ~100 out of ~300

> Can you tell me if the users which are logging in through rdesktop
> are Admins, or if they have the SeCreateGlobalPrivilege explicitely set?
> In theory, normal non-Admin users logging in through rdesktop should
> never create global objects, so they shouldn't see the above message.

logging in users through ssh and rdesktop are only member of "users" and 
"remote desktop users". after installing sshd with ssh-host-config the 
sshd user had the SeCreateGlobalPrivilege flag. using ssh, the cygwin and 
the windows whoami binary correctly report the username, not sshd. we had 
the CreateFileMapping problem with the default rights windows came with, 
so we added the group users to this privilege using gpedit.msc (which btw 
is not listed by 'editrights -l -u username'). these settings are still 
active.

hope this helps,
andre

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