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

In further troubleshooting, I verified the w2k sp4 the policy settings with another w2k sp4 system that works. No differences were found. I did find that the version of cygwin that I was running was different. The version of cygwin on the working system is 1.3.22-1.

I removed my broken installation of cygwin and installed 1.3.22-1 and my system function correctly. No more "CreateFileMapping - Win32 error 5".

I have attached the cygcheck from the working installation as cygcheck.good

I have attached the cygcheck from the broken installation as cygcheck.bad

Just to verify that still didn't work, I updated the working 1.3.22-1 installation and sure enough the "CreateFileMapping" error occurred. I also tried the version and that also had this same error.

Here is a getfacl and a ls of "ls.exe"
getfacl /bin/ls.exe
# file: /bin/ls.exe
# owner: Administrator
# group: Users

/bin/ls -l /bin/ls
-rwxrwxrwx    1 Administ Users       68608 Jun 15  2001 /bin/ls

I have never installed/built cygwin from snapshot. I'll give it a try and get back with you.


At 05:12 PM 10/3/2003 -0400, Igor Pechtchanski wrote:
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".
      |\      _,,,---,,_      
ZZZzz /,`.-'`'    -.  ;-;;,_  
     |,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:
Problem reports:

Attachment: cygcheck.good
Description: Binary data

Attachment: cygcheck.bad
Description: Text document

Unsubscribe info:
Problem reports:

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