Permissions on /tmp not set by setup program

Toby Everett tua@everettak.org
Fri Sep 20 08:56:00 GMT 2002


I installed Cygwin 1.3.12-4 (at least that's the version number on the cygwin
package) on my XP system this morning.  The system installed without any
problems, but after a reboot, I discovered that I couldn't start XFree86 when
logged in using my normal account.  My normal account is not a member of the
Administrators group.  The install was done as Admin, an account that is a
member of the Administrators group.  The inheritable permissions on my C:\
drive give Full Control to SYSTEM and Administrators, but only Read and
Execute to the Users group.

After some quick experimentation, I discovered that granting Modify
permissions to the Users group for the C:\cygwin\tmp directory solved my
problems.

I would recommend either adding code for this to the setup program or adding
an entry to the FAQ.  I did a search in the FAQ for permissions and for tmp,
but didn't find anything, so if I missed it, I apologize.  You might double
check this, but I believe a successful grant of the permissions can be
effected by:

cacls "C:\cygwin\tmp" /T /E /G Users:C

Find appended the output from cygcheck -s -v -r.  Oh, my Boot drive has more
than 1536MB!  Just defending myself from myself by using quotas.

--Toby Everett



Cygwin Win95/NT Configuration Diagnostics
Current System Time: Fri Sep 20 07:37:14 2002

Windows XP Professional Ver 5.1 Build 2600 Service Pack 1

Path:   .
        \cygwin\bin
        \cygwin\usr\X11R6\bin
        C:\Perl\bin\
        C:\WINDOWS\system32
        C:\WINDOWS
        C:\WINDOWS\System32\Wbem
        C:\WINDOWS\bin
        C:\Program Files\Executive Software\DiskeeperLite\

SysDir: C:\WINDOWS\System32
WinDir: C:\WINDOWS

Path =
`.;\cygwin\bin;\cygwin\usr\X11R6\bin;C:\Perl\bin\;C:\WINDOWS\system32;C:\
WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\bin;C:\Program Files\Executive
Software\DiskeeperLite\'

ALLUSERSPROFILE = `C:\Documents and Settings\All Users'
APPDATA = `C:\Documents and Settings\Toby\Application Data'
CLASSPATH = `"d\QTJava.zip"'
CLIENTNAME = `Console'
CommonProgramFiles = `C:\Program Files\Common Files'
COMPUTERNAME = `MEXP'
ComSpec = `C:\WINDOWS\system32\cmd.exe'
CYGWIN_ROOT = `\cygwin'
DiskeeperIcon = `C:\Program Files\Executive Software\DiskeeperLite\'
DISPLAY = `127.0.0.1:0.0'
HOMEDRIVE = `C:'
HOMEPATH = `\Documents and Settings\Toby'
LOGONSERVER = `\\MEXP'
NUMBER_OF_PROCESSORS = `1'
OS = `Windows_NT'
PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
PROCESSOR_ARCHITECTURE = `x86'
PROCESSOR_IDENTIFIER = `x86 Family 15 Model 1 Stepping 2, GenuineIntel'
PROCESSOR_LEVEL = `15'
PROCESSOR_REVISION = `0102'
ProgramFiles = `C:\Program Files'
PROMPT = `$P$G'
QTJAVA = `"d\QTJava.zip"'
SESSIONNAME = `Console'
SystemDrive = `C:'
SystemRoot = `C:\WINDOWS'
TEMP = `C:\DOCUME~1\Toby\LOCALS~1\Temp'
TMP = `C:\DOCUME~1\Toby\LOCALS~1\Temp'
USERDOMAIN = `MEXP'
USERNAME = `Toby'
USERPROFILE = `C:\Documents and Settings\Toby'
windir = `C:\WINDOWS'

HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2
  (default) = `/cygdrive'
  cygdrive flags = 0x00000020
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/
  (default) = `C:\cygwin'
  flags = 0x00000008
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin
  (default) = `C:\cygwin/bin'
  flags = 0x00000008
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib
  (default) = `C:\cygwin/lib'
  flags = 0x00000008
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts
v2\/usr/X11R6/lib/X11
/fonts
  (default) = `C:\cygwin\usr\X11R6\lib\X11\fonts'
  flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options

a:  fd           N/A    N/A
c:  hd  NTFS    1536Mb  36% CP CS UN PA FC     Boot
d:  cd           N/A    N/A
e:  cd           N/A    N/A
s:  hd  NTFS    7169Mb  14% CP CS UN PA FC     Scratch
x:  hd  FAT32   7382Mb   1% CP    UN           TRANSFER

C:\cygwin                          /                         system  textmode
C:\cygwin/bin                      /usr/bin                  system  textmode
C:\cygwin/lib                      /usr/lib                  system  textmode
C:\cygwin\usr\X11R6\lib\X11\fonts  /usr/X11R6/lib/X11/fonts  system  binmode
. /cygdrive user textmode,cy
gdrive

Found: \cygwin\bin\bash.exe
Found: \cygwin\bin\cat.exe
Found: C:\WINDOWS\bin\cat.exe
Warning: \cygwin\bin\cat.exe hides C:\WINDOWS\bin\cat.exe
Not Found: cpp (good!)
Found: \cygwin\bin\find.exe
Not Found: gcc
Not Found: gdb
Not Found: ld
Found: \cygwin\bin\ls.exe
Not Found: make
Found: \cygwin\bin\sh.exe

   58k 2002/05/07 \cygwin\bin\cygbz2-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygbz2-1.dll" v0.0 ts=2002/5/6 22:33
   54k 2002/01/27 \cygwin\bin\cygbz21.0.dll - os=4.0 img=1.0 sys=4.0
                  "cygbz21.0.dll" v0.0 ts=2002/1/26 16:07
    6k 2002/06/24 \cygwin\bin\cygcharset-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygcharset-1.dll" v0.0 ts=2002/6/24 10:23
  452k 2002/07/17 \cygwin\bin\cygcurl-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygcurl-2.dll" v0.0 ts=2002/7/17 6:50
   45k 2001/04/25 \cygwin\bin\cygform5.dll - os=4.0 img=1.0 sys=4.0
                  "cygform5.dll" v0.0 ts=2001/4/24 21:28
   35k 2002/01/09 \cygwin\bin\cygform6.dll - os=4.0 img=1.0 sys=4.0
                  "cygform6.dll" v0.0 ts=2002/1/8 21:03
   19k 2002/02/20 \cygwin\bin\cyggdbm.dll - os=4.0 img=1.0 sys=4.0
                  "cyggdbm.dll" v0.0 ts=2002/2/19 18:05
  488k 2002/07/18 \cygwin\bin\cygguile-14.dll - os=4.0 img=1.0 sys=4.0
                  "cygguile-14.dll" v0.0 ts=2002/7/18 2:35
   63k 2002/07/18 \cygwin\bin\cygguile-srfi-srfi-13-14-1.dll - os=4.0 img=1.0
sy
s=4.0
                  "cygguile-srfi-srfi-13-14-1.dll" v0.0 ts=2002/7/18 2:35
   24k 2002/07/18 \cygwin\bin\cygguile-srfi-srfi-4-1.dll - os=4.0 img=1.0
sys=4.
0
                  "cygguile-srfi-srfi-4-1.dll" v0.0 ts=2002/7/18 2:35
   14k 2002/07/18 \cygwin\bin\cygguilereadline-14.dll - os=4.0 img=1.0 sys=4.0
                  "cygguilereadline-14.dll" v0.0 ts=2002/7/18 2:35
   17k 2001/06/28 \cygwin\bin\cyghistory4.dll - os=4.0 img=1.0 sys=4.0
                  "cyghistory4.dll" v0.0 ts=2001/1/6 19:34
   20k 2002/07/17 \cygwin\bin\cyghistory5.dll - os=4.0 img=1.0 sys=4.0
                  "cyghistory5.dll" v0.0 ts=2002/7/17 13:18
  929k 2002/06/24 \cygwin\bin\cygiconv-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygiconv-2.dll" v0.0 ts=2002/6/24 10:24
   22k 2001/12/13 \cygwin\bin\cygintl-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygintl-1.dll" v0.0 ts=2001/12/13 0:28
   23k 2002/06/24 \cygwin\bin\cygintl-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygintl-2.dll" v0.0 ts=2002/6/23 20:54
   21k 2001/06/20 \cygwin\bin\cygintl.dll - os=4.0 img=1.0 sys=4.0
                  "cygintl.dll" v0.0 ts=2001/6/20 9:09
   81k 2000/12/05 \cygwin\bin\cygitcl30.dll - os=4.0 img=1.0 sys=4.0
                  "cygitcl30.dll" v0.0 ts=2000/11/25 16:43
   35k 2000/12/05 \cygwin\bin\cygitk30.dll - os=4.0 img=1.0 sys=4.0
                  "cygitk30.dll" v0.0 ts=2000/11/25 16:43
   45k 2002/02/08 \cygwin\bin\cygjbig1.dll - os=4.0 img=1.0 sys=4.0
                  "cygjbig1.dll" v0.0 ts=2002/2/7 14:59
  119k 2002/02/09 \cygwin\bin\cygjpeg6b.dll - os=4.0 img=1.0 sys=4.0
                  "cygjpeg6b.dll" v0.0 ts=2002/2/8 20:19
   25k 2002/07/16 \cygwin\bin\cygltdl-3.dll - os=4.0 img=1.0 sys=4.0
                  "cygltdl-3.dll" v0.0 ts=2002/7/15 20:05
   26k 2001/04/25 \cygwin\bin\cygmenu5.dll - os=4.0 img=1.0 sys=4.0
                  "cygmenu5.dll" v0.0 ts=2001/4/24 21:27
   20k 2002/01/09 \cygwin\bin\cygmenu6.dll - os=4.0 img=1.0 sys=4.0
                  "cygmenu6.dll" v0.0 ts=2002/1/8 21:03
  156k 2001/04/25 \cygwin\bin\cygncurses++5.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses++5.dll" v0.0 ts=2001/4/24 21:29
  175k 2002/01/09 \cygwin\bin\cygncurses++6.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses++6.dll" v0.0 ts=2002/1/8 21:03
  226k 2001/04/25 \cygwin\bin\cygncurses5.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses5.dll" v0.0 ts=2001/4/24 21:17
  202k 2002/01/09 \cygwin\bin\cygncurses6.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses6.dll" v0.0 ts=2002/1/8 21:03
   15k 2001/04/25 \cygwin\bin\cygpanel5.dll - os=4.0 img=1.0 sys=4.0
                  "cygpanel5.dll" v0.0 ts=2001/4/24 21:27
   12k 2002/01/09 \cygwin\bin\cygpanel6.dll - os=4.0 img=1.0 sys=4.0
                  "cygpanel6.dll" v0.0 ts=2002/1/8 21:03
   40k 2001/11/21 \cygwin\bin\cygpcre.dll - os=4.0 img=1.0 sys=4.0
                  "cygpcre.dll" v0.0 ts=2001/11/21 13:15
   39k 2001/11/21 \cygwin\bin\cygpcreposix.dll - os=4.0 img=1.0 sys=4.0
                  "cygpcreposix.dll" v0.0 ts=2001/11/21 13:15
  175k 2002/07/22 \cygwin\bin\cygpng10.dll - os=4.0 img=1.0 sys=4.0
                  "cygpng10.dll" v0.0 ts=2002/7/22 7:51
  179k 2002/07/22 \cygwin\bin\cygpng12.dll - os=4.0 img=1.0 sys=4.0
                  "cygpng12.dll" v0.0 ts=2002/7/22 8:03
  170k 2002/01/21 \cygwin\bin\cygpng2.dll - os=4.0 img=1.0 sys=4.0
                  "cygpng2.dll" v0.0 ts=2002/1/20 16:05
   22k 2002/06/09 \cygwin\bin\cygpopt-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygpopt-0.dll" v0.0 ts=2002/6/8 21:45
  108k 2001/06/28 \cygwin\bin\cygreadline4.dll - os=4.0 img=1.0 sys=4.0
                  "cygreadline4.dll" v0.0 ts=2001/1/6 19:34
  127k 2002/07/17 \cygwin\bin\cygreadline5.dll - os=4.0 img=1.0 sys=4.0
                  "cygreadline5.dll" v0.0 ts=2002/7/17 13:18
  390k 2000/12/05 \cygwin\bin\cygtcl80.dll - os=4.0 img=1.0 sys=4.0
                  "cygtcl80.dll" v0.0 ts=2000/11/25 16:39
    5k 2000/12/05 \cygwin\bin\cygtclpip80.dll - os=4.0 img=1.0 sys=4.0
   10k 2000/12/05 \cygwin\bin\cygtclreg80.dll - os=4.0 img=1.0 sys=4.0
                  "cygtclreg80.dll" v0.0 ts=2000/11/25 16:39
  253k 2002/02/10 \cygwin\bin\cygtiff3.dll - os=4.0 img=1.0 sys=4.0
                  "cygtiff3.dll" v0.0 ts=2002/2/9 23:34
  623k 2000/12/05 \cygwin\bin\cygtk80.dll - os=4.0 img=1.0 sys=4.0
                  "cygtk80.dll" v0.0 ts=2000/11/25 16:43
   25k 2002/07/14 \cygwin\bin\cygungif-4.dll - os=4.0 img=1.0 sys=4.0
                  "cygungif-4.dll" v0.0 ts=2002/7/14 6:58
   41k 2002/01/20 \cygwin\bin\cygXpm-noX4.dll - os=4.0 img=1.0 sys=4.0
                  "cygXpm-noX4.dll" v0.0 ts=2002/1/20 9:49
   46k 2002/01/20 \cygwin\bin\cygXpm-X4.dll - os=4.0 img=1.0 sys=4.0
                  "cygXpm-X4.dll" v0.0 ts=2002/1/20 9:50
   50k 2002/03/12 \cygwin\bin\cygz.dll - os=4.0 img=1.0 sys=4.0
                  "cygz.dll" v0.0 ts=2002/3/11 19:38
  883k 2002/07/06 \cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0
                  "cygwin1.dll" v0.0 ts=2002/7/5 22:16
    Cygwin DLL version info:
        DLL version: 1.3.12
        DLL epoch: 19
        DLL bad signal mask: 19005
        DLL old termios: 5
        DLL malloc env: 28
        API major: 0
        API minor: 54
        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: Sat Jul 6 02:16:58 EDT 2002
        CVS tag: cygwin-1-3-12-1
        Shared id: cygwin1S3

   41k 2002/05/14 \cygwin\usr\X11R6\bin\cygPropList-0.dll - os=4.0 img=1.0
sys=4
.0
                  "cygPropList-0.dll" v0.0 ts=2002/5/13 19:13

Cygwin Package Information
Last downloaded files to: S:\Downloads\Cygwin
Last downloaded files from:
http://uiarchive.uiuc.edu/mirrors/ftp/sources.redhat
.com/pub/cygwin

Package             Version
WindowMaker         0.80.0-2
XFree86-base        4.2.0-1
XFree86-bin         4.2.0-2
XFree86-doc         4.2.0-1
XFree86-etc         4.2.0-1
XFree86-f100        4.2.0-2
XFree86-fcyr        4.2.0-2
XFree86-fenc        4.2.0-2
XFree86-fnts        4.2.0-2
XFree86-fscl        4.2.0-2
XFree86-fsrv        4.2.0-1
XFree86-html        4.2.0-1
XFree86-jdoc        4.2.0-1
XFree86-lib         4.2.0-3
XFree86-man         4.2.0-1
XFree86-nest        4.2.0-1
XFree86-prog        4.2.0-1
XFree86-prt         4.2.0-1
XFree86-ps          4.2.0-1
XFree86-startup-scripts4.2.0-3
XFree86-vfb         4.2.0-1
XFree86-xserv       4.2.0-10
Xaw3d               1.5-1
_update-info-dir    00063-1
ash                 20020731-1
bash                2.05b-5
bc                  1.06-1
bzip2               1.0.2-2
clear               1.0-1
cpio                2.4.2
crypt               1.0-1
curl                7.9.8-2
cygutils            1.1.2-1
cygwin              1.3.12-4
cygwin-doc          1.1-2
diff                1.0-1
diffutils           2.8.1-1
enscript            1.6.3-3
expect              20010117-1
figlet              2.2-1
file                3.37-1
fileutils           4.1-1
findutils           4.1.7-4
fvwm                2.4.7-2
gawk                3.1.1-3
gdbm                1.8.0-4
ghostscript         7.05-1
ghostscript-base    7.05-1
ghostscript-x11     7.05-1
gnupg               1.0.7-3
grep                2.5-1
groff               1.17.2-1
gsl                 1.1.1-1
guile               1.5.6-5
guile-doc           1.5.6-5
gzip                1.3.3-4
jbigkit             1.2-6
jpeg                6b-7
keychain            1.9-1
less                374-1
lesstif             0.93.18-3
libPropList         0.10.1-3
libbz2_0            1.0.2-1
libbz2_1            1.0.2-2
libcharset1         1.8-2
libguile14          1.5.6-5
libiconv2           1.8-2
libintl             0.10.38-3
libintl1            0.10.40-1
libintl2            0.11.2-2
libltdl3            20020705-2
libncurses5         5.2-1
libncurses6         5.2-8
libpng              1.2.4-2
libpng10            1.0.14-2
libpng10-devel      1.0.14-2
libpng12            1.2.4-2
libpng12-devel      1.2.4-2
libpng2             1.0.12-1
libpopt0            1.6.4-4
libreadline4        4.1-2
libreadline5        4.3-1
libungif            4.1.0-2
lilypond-doc        1.6.0-1
login               1.4-4
m4                  0.0
man                 1.5g-2
more                2.11o-1
mt                  2.0.1-1
ncurses             5.2-8
newlib-man          20020801
openbox             0.99.1-3
opengl              1.1.0-6
patch               2.5-3
pcre                3.7-1
pinfo               0.6.6p1-1
popt                1.6.4-4
readline            4.3-1
rxvt                2.7.2-11
sed                 3.02-1
sh-utils            2.0-2
sharutils           4.2.1-2
squid               2.4.STABLE7-1
tar                 1.13.19-1
tcltk               20001125-1
tcsh                6.11.00-4
termcap             20020403-1
terminfo            5.2-3
tetex-beta          20020530-3
tetex-doc           20020530-3
texinfo             4.2-3
texmf               20020530-3
texmf-base          20020530-3
texmf-doc           20020530-3
texmf-extra         20020530-3
texmf-tiny          20020530-3
textutils           2.0.21-1
tidy                020822-1
tiff                3.5.7-1
time                1.7-1
ucl                 1.01-1
units               1.77-1
upx                 1.21-1
w32api              2.0-1
wget                1.8.2-1
which               1.5-1
x2x                 1.27-1
xpm-nox             4.2.0-1
zlib                1.1.4-1
zsh                 4.0.4-1

Use -h to see help about each section

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list