messed up user permissions from w2k terminal session

James D Below James.Below@grc.nasa.gov
Mon Oct 6 18:55:00 GMT 2003


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.

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

Also, the cygchecks (cygcheck.bad and cygcheck.snapshot) were executed when 
I was logged in as administrator since the user account couldn't run 
anything under H:\cygwin

Let me know if there is anything else I should try.

thanks.
james
-------------- next part --------------

Cygwin Win95/NT Configuration Diagnostics
Current System Time: Mon Oct 06 12:58:11 2003

Windows 2000 Server Ver 5.0 Build 2195 Service Pack 4

Path:	H:\cygwin\usr\local\bin
	H:\cygwin\bin
	H:\cygwin\bin
	H:\cygwin\usr\X11R6\bin
	h:\Program Files\Common Files\VERITAS Shared
	h:\PROGRA~1\VERITAS\NetBackup\bin
	h:\Program Files\Microsoft Visual Studio\Common\Tools
	h:\Program Files\Microsoft Visual Studio\Common\Msdev98\BIN
	h:\Program Files\Microsoft Visual Studio\DF98\BIN
	h:\Program Files\Microsoft Visual Studio\VC98\BIN
	h:\WINNT\system32
	h:\WINNT
	h:\WINNT\System32\Wbem
	h:\Program Files\Rational\ClearCase\bin
	h:\Program Files\Common Files\Adaptec Shared\System
	h:\Program Files\Microsoft Visual Studio\Common\Msdev98\Bin
	x:\dev\bin
	h:\mico\win32-bin

Output from H:\cygwin\bin\id.exe (nontsec)
UID: 500(Administrator) GID: 1105(ncp)
512(Domain Admins)                
1105(ncp)                         513(Domain Users)
519(Enterprise Admins)            
520(Group Policy Creator Owners)  518(Schema Admins)
544(Administrators)               
544(Administrators)

Output from H:\cygwin\bin\id.exe (ntsec)
UID: 500(Administrator) GID: 1105(ncp)
512(Domain Admins)                
1105(ncp)                         513(Domain Users)
519(Enterprise Admins)            
520(Group Policy Creator Owners)  518(Schema Admins)
513(Domain Users)                 
544(Administrators)               545(Users)
544(Administrators)

SysDir: H:\WINNT\system32
WinDir: H:\WINNT

HOME = `H:\cygwin\u\Administrator'
MAKE_MODE = `unix'
PWD = `/'
USER = `Administrator'

Use `-r' to scan registry

a:  fd           N/A    N/A                    
c:  hd  FAT     2047Mb  63% CP    UN           LOCAL DISK
d:  fd           N/A    N/A                    
e:  hd  NTFS   15311Mb  92% CP CS UN PA FC     Local Disk
f:  cd           N/A    N/A                    
g:  cd           N/A    N/A                    
h:  hd  NTFS    9530Mb  93% CP CS UN PA FC     Local Disk
i:  net NTFS    9114Mb  65% CP CS UN PA FC     
m:  net MVFS    1000Mb  50% CP CS              CCase

H:\cygwin      /          system  binmode
H:\cygwin/bin  /usr/bin   system  binmode
H:\cygwin/lib  /usr/lib   system  binmode
.              /cygdrive  system  binmode,cygdrive

Found: H:\cygwin\bin\awk.exe
Found: H:\cygwin\bin\bash.exe
Found: H:\cygwin\bin\cat.exe
Found: H:\cygwin\bin\cp.exe
Not Found: cpp (good!)
Found: H:\cygwin\bin\find.exe
Not Found: gcc
Not Found: gdb
Found: H:\cygwin\bin\grep.exe
Not Found: ld
Found: H:\cygwin\bin\ls.exe
Not Found: make
Found: H:\cygwin\bin\mv.exe
Found: H:\cygwin\bin\rm.exe
Found: H:\cygwin\bin\sed.exe
Found: H:\cygwin\bin\sh.exe
Found: H:\cygwin\bin\tar.exe

   58k 2002/05/07 H:\cygwin\bin\cygbz2-1.dll
  848k 2003/04/11 H:\cygwin\bin\cygcrypto-0.9.7.dll
  645k 2003/04/11 H:\cygwin\bin\cygcrypto.dll
  380k 2002/07/24 H:\cygwin\bin\cygdb-3.1.dll
  487k 2002/07/24 H:\cygwin\bin\cygdb_cxx-3.1.dll
   45k 2001/04/25 H:\cygwin\bin\cygform5.dll
   35k 2002/01/09 H:\cygwin\bin\cygform6.dll
   48k 2003/08/09 H:\cygwin\bin\cygform7.dll
   28k 2003/07/20 H:\cygwin\bin\cyggdbm-3.dll
   30k 2003/08/11 H:\cygwin\bin\cyggdbm-4.dll
   19k 2003/03/22 H:\cygwin\bin\cyggdbm.dll
   15k 2003/07/20 H:\cygwin\bin\cyggdbm_compat-3.dll
   15k 2003/08/11 H:\cygwin\bin\cyggdbm_compat-4.dll
  490k 2002/09/21 H:\cygwin\bin\cygguile-12.dll
   63k 2002/09/21 H:\cygwin\bin\cygguile-srfi-srfi-13-14-v-1-1.dll
   24k 2002/09/21 H:\cygwin\bin\cygguile-srfi-srfi-4-v-1-1.dll
   14k 2002/09/21 H:\cygwin\bin\cygguilereadline-v-12-12.dll
   17k 2001/06/28 H:\cygwin\bin\cyghistory4.dll
   29k 2003/08/10 H:\cygwin\bin\cyghistory5.dll
  958k 2003/08/10 H:\cygwin\bin\cygiconv-2.dll
   22k 2001/12/13 H:\cygwin\bin\cygintl-1.dll
   37k 2003/08/10 H:\cygwin\bin\cygintl-2.dll
   21k 2001/06/20 H:\cygwin\bin\cygintl.dll
   32k 2003/04/16 H:\cygwin\bin\cygltdl-3.dll
   26k 2001/04/25 H:\cygwin\bin\cygmenu5.dll
   20k 2002/01/09 H:\cygwin\bin\cygmenu6.dll
   29k 2003/08/09 H:\cygwin\bin\cygmenu7.dll
  156k 2001/04/25 H:\cygwin\bin\cygncurses++5.dll
  175k 2002/01/09 H:\cygwin\bin\cygncurses++6.dll
  226k 2001/04/25 H:\cygwin\bin\cygncurses5.dll
  202k 2002/01/09 H:\cygwin\bin\cygncurses6.dll
  224k 2003/08/09 H:\cygwin\bin\cygncurses7.dll
   15k 2001/04/25 H:\cygwin\bin\cygpanel5.dll
   12k 2002/01/09 H:\cygwin\bin\cygpanel6.dll
   19k 2003/08/09 H:\cygwin\bin\cygpanel7.dll
   66k 2003/07/01 H:\cygwin\bin\cygpcre-0.dll
   63k 2003/04/11 H:\cygwin\bin\cygpcre.dll
   15k 2003/07/01 H:\cygwin\bin\cygpcreposix-0.dll
   61k 2003/04/11 H:\cygwin\bin\cygpcreposix.dll
 1069k 2003/06/02 H:\cygwin\bin\cygperl5_8_0.dll
  173k 2003/02/23 H:\cygwin\bin\cygpng12.dll
   22k 2002/06/09 H:\cygwin\bin\cygpopt-0.dll
  108k 2001/06/28 H:\cygwin\bin\cygreadline4.dll
  148k 2003/08/10 H:\cygwin\bin\cygreadline5.dll
  176k 2003/04/11 H:\cygwin\bin\cygssl-0.9.7.dll
  165k 2003/04/11 H:\cygwin\bin\cygssl.dll
   60k 2003/08/09 H:\cygwin\bin\cygz.dll
 1045k 2003/10/02 H:\cygwin\bin\cygwin1.dll
    Cygwin DLL version info:
        DLL version: 1.5.6
        DLL epoch: 19
        DLL bad signal mask: 19005
        DLL old termios: 5
        DLL malloc env: 28
        API major: 0
        API minor: 94
        Shared data: 3
        DLL identifier: cygwin1
        Mount registry: 2
        Cygnus registry name: Cygnus Solutions
        Cygwin registry name: Cygwin
        Program options name: Program Options
        Cygwin mount registry name: mounts v2
        Cygdrive flags: cygdrive flags
        Cygdrive prefix: cygdrive prefix
        Cygdrive default prefix: 
        Build date: Thu Oct 2 00:51:43 EDT 2003
        Snapshot date: 20031002-00:47:53
        Shared id: cygwin1S3


Cygwin Package Information
Package              Version            
_update-info-dir     00221-1            
ash                  20020731-3         
base-files           2.6-1              
base-passwd          1.1-1              
bash                 2.05b-15           
bzip2                1.0.2-5            
clear                1.0-1              
cron                 3.0.1-10           
cygrunsrv            0.96-1             
cygwin               1.5.5-1            
cygwin-doc           1.2-1              
diffutils            2.8.4-1            
editrights           1.01-1             
fileutils            4.1-2              
findutils            4.1.7-4            
gawk                 3.1.3-3            
gdbm                 1.8.3-7            
gettext              0.11.5-1           
grep                 2.5-1              
groff                1.18.1-2           
gzip                 1.3.5-1            
less                 381-1              
libbz2_1             1.0.2-2            
libdb3.1             3.1.17-2           
libgdbm              1.8.0-5            
libgdbm-devel        1.8.3-7            
libgdbm3             1.8.3-3            
libgdbm4             1.8.3-7            
libguile12           1.6.0-1            
libiconv2            1.9.1-3            
libintl              0.10.38-3          
libintl1             0.10.40-1          
libintl2             0.12.1-3           
libltdl3             1.5-1              
libncurses5          5.2-1              
libncurses6          5.2-8              
libncurses7          5.3-4              
libpcre              4.1-1              
libpcre0             4.3-2              
libpng               1.2.5-1            
libpng12             1.2.5-1            
libpopt0             1.6.4-4            
libreadline4         4.1-2              
libreadline5         4.3-5              
login                1.9-7              
man                  1.5j-2             
mingw-runtime        3.0-1              
mktemp               1.5-3              
more                 2.11o-1            
ncurses              5.3-4              
openssh              3.6.1p1-2          
openssl              0.9.7b-1           
openssl096           0.9.6j-1           
pcre                 4.3-2              
pcre-doc             4.3-2              
perl                 5.8.0-3            
popt                 1.6.4-4            
procps               010801-2           
readline             4.3-5              
rsync                2.5.6-1            
rxvt                 2.7.10-3           
sed                  4.0.7-3            
sh-utils             2.0.15-4           
tar                  1.13.25-3          
tcltk                20030214-1         
tcsh                 6.12.00-5          
termcap              20021106-2         
terminfo             5.3_20030726-1     
texinfo              4.2-4              
textutils            2.0.21-1           
vim                  6.2-1              
w32api               2.3-1              
which                1.5-2              
zlib                 1.1.4-4            
Use -h to see help about each section

-------------- next part --------------
--
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/


More information about the Cygwin mailing list