delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/01/21/10:02:03

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
From: "Dave Korn" <dk AT artimi DOT com>
To: <cygwin AT cygwin DOT com>
Subject: RE: running the latest cygwin on a windows 2003 server
Date: Wed, 21 Jan 2004 11:51:06 -0000
MIME-Version: 1.0
In-Reply-To: <400E4029.4070204@zib.de>
Message-ID: <NUTMEGo8lYwxz8LSxwy00000172@NUTMEG.CAM.ARTIMI.COM>
X-OriginalArrivalTime: 21 Jan 2004 11:51:06.0794 (UTC) FILETIME=[DA9918A0:01C3E014]

 

> -----Original Message-----
> From: cygwin-owner On Behalf Of Stefan Zachow

> when I enter ".\bash.exe --login -i" (with or without --login) I get
> 
>    *** CreateFileMapping, Win32 error 0. Terminating.

  Fascinating.  That's from winsup\cygwin\shared.cc line 96.  Can't see why
it would fail without returning an error code, though.

  Try giving your cygwin non-admin user accounts the "Create paging files"
privilege and see if that helps.  I _think_ you have to do that using the
group policy editor, gpedit.msc.

  If that fixes the problem, then it would be worth adopting a more
systematic method for your longterm solution.  Probably the most 'correct'
way to do it would be by creating a new group called "Cygwin Users", using
the control panel / (local) user and groups settings.  Then you'd start
gpedit.msc, follow the chain Computer configuration -> Windows settings ->
Security settings -> Local Policies -> User Rights Assignment, find the
'Create a pagefile' option, and add the new "Cygwin Users" group to that.
That way you can just add the users who need Cygwin access to the Cygwin
Users group, and it'll give them the added privilege they need.


    cheers, 
      DaveK
-- 
Can't think of a witty .sigline today....


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