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 X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs Date: Fri, 3 Oct 2003 17:12:00 -0400 (EDT) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: James D Below cc: cygwin AT cygwin DOT com Subject: Re: messed up user permissions from w2k terminal session In-Reply-To: <5.1.1.5.2.20031003155210.01a43a98@popserve.grc.nasa.gov> Message-ID: References: <5 DOT 1 DOT 1 DOT 5 DOT 2 DOT 20031003155210 DOT 01a43a98 AT popserve DOT grc DOT nasa DOT gov> Importance: Normal MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Fri, 3 Oct 2003, James D Below wrote: > HI everyone, > > I'm not sure how I did it but I messed up my user permissions or local > policy settings. Now whenever I run any cygwin app (bash.exe, wc.exe, > rxvt.exe) from a w2k terminal session and logged in as a user, I see the > following error: > > **** CreateFileMapping, Win32 error 5. Terminating. > > I'm running Windows 2000 SP4 and CYGWIN = binmode tty ntsec > > More specific details.... > > If I am logged into the console I can run any cygwin apps. When I log in > remotely to the server through ssh, everything is fine. The only time a > problem occurs is when I login through a terminal server client using an > account other than "Administrator". The administrator account doesn't > experience problem. A user account belonging in the Administrators group does. > > I am at a loss trying to figure out which policy/permission was changed to > cause this problem. > > I've been google'ing for a few days trying to track down what might have > changed but to no avail. > > Any hints on troubleshooting errors like this or an idea as to what > permission/policy is needed for "CreateFileMapping", would be appreciated. > > If a cygcheck would be helpful let me know and I will send one. > > thanks > James A cygcheck output wouldn't hurt in any case (please attach it, though, rather than including it inline), but another piece of information that might help is the output of "ls -l /bin/ls.exe; getfacl /bin/ls.exe". BTW, "net helpmsg 5" results in "Access is denied". Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "I have since come to realize that being between your mentor and his route to the bathroom is a major career booster." -- Patrick Naughton -- 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/