This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
RE: Directory problems after fresh install of v1.3.22-1
- From: David Balazic <david dot balazic at hermes dot si>
- To: "'cygwin at cygwin dot com'" <cygwin at cygwin dot com>
- Date: Tue, 5 Aug 2003 16:38:29 +0200
- Subject: RE: Directory problems after fresh install of v1.3.22-1
> ----------
> From: Igor Pechtchanski[SMTP:pechtcha@cs.nyu.edu]
> Reply To: cygwin@cygwin.com
> Sent: 5. avgust 2003 16:33
> To: David Balazic
> Cc: cygwin@cygwin.com
> Subject: RE: Directory problems after fresh install of v1.3.22-1
>
> On Tue, 5 Aug 2003, David Balazic wrote:
>
> > > From: Igor Pechtchanski
> > > Reply To: cygwin@cygwin.com
> > > Sent: 5. avgust 2003 16:06
> > > To: David Balazic
> > > Cc: cygwin@cygwin.com
> > > Subject: RE: Directory problems after fresh install of v1.3.22-1
> > >
> > > On Tue, 5 Aug 2003, David Balazic wrote:
> > >
> > > > > From: Igor Pechtchanski
> > > > > Reply To: cygwin@cygwin.com
> > > > > Sent: 5. avgust 2003 14:46
> > > > > To: David Balazic
> > > > > Cc: cygwin@cygwin.com
> > > > > Subject: RE: Directory problems after fresh install of
> v1.3.22-1
> > > > >
> > > > > On Tue, 5 Aug 2003, Igor Pechtchanski wrote:
> > > > >
> > > > > > On Tue, 5 Aug 2003, David Balazic wrote:
> > > > > >
> > > > > > [snip]
> > > > > >
> > > > > > > > Are you logging
> > > > > > > > in as a domain user by any chance?
> > > > > > > Yes.
> > > > > > > > Are your /etc/passwd and /etc/group up
> > > > > > > > to date?
> > > > > > > I don't know. What does it mean "up to date" what must be
> their content ?
> > > > > > They should have an entry for the user you log in as. Since you
> installed
> > > > > > as a different user (admin), mkpasswd will not have put in the
> entry for
> > > > > > the domain user. Try running "x:\cygwin\bin\mkpasswd -u
> <youruser> -d >> passwd" from "x:\cygwin\etc".
> > > > >
> > > > > You may also need to do "x:\cygwin\bin\mkgroup -d >> group" from
> > > > > "x:\cygwin\etc" -- be prepared, it may take a while in large
> domains.
> > > >
> > > > I did this now.
> > >
> > > So, please post the passwd and group lines that correspond to the
> numeric
> > > UID and GID you installed under (see below).
> > >
> > > > > > > > Please run "c:\cygwin\bin\ls.exe -l /bin/ls" from a
> cmd.exe
> > > > > > > > prompt and post the output.
> > > > > > >
> > > > > > > It is on drive X:
> > > > > > > C:\>x:\cygwin\bin\ls.exe -l /bin/ls
> > > > > > > /usr/bin/ls: /bin/ls: No such file or directory
> > > > > >
> > > > > > Okay, try ".\ls.exe .\ls.exe" from "x:\cygwin\bin"?
> > > > > ^^^^^^^^^^^^^^^^^
> > > > > Oops, make that ".\ls.exe -l .\ls.exe"... Sorry.
> > > > >
> > > > X:\cygwin\bin>.\ls.exe -l .\ls.exe
> > > > -rwxrwxrwx 1 ???????? ???????? 68608 Jun 15 2001 .\ls.exe
> > >
> > > Ah. Ok, now ".\ls.exe -ln .\ls.exe". This will give you the numeric
> UID
> > > and GID to grep out of the passwd and group files.
> > X:\cygwin\bin>.\ls.exe -ln .\ls.exe
> > -rwxrwxrwx 1 65535 65535 68608 Jun 15 2001 .\ls.exe
> >
> > 65535 is not in passwd or group file.
>
> Well, yes, as indicated in
> <http://cygwin.com/cygwin-ug-net/ntsec.html#NTSEC-RELEASE1.3.20>, 65535 is
> a special UID used for those users not in the passwd file, so this kinda
> figures...
>
> Ok, my guess is that the owner is "Everyone", both for the user and for
The owner of the file is "Administrators (JUICE\Administrators)"
"juice" is the host name.
> the group. You can confirm or deny this by checking the ownership in the
> properties tab for the root directory in Windows Explorer. If this turns
> out to be the case, add "Everyone" to your /etc/passwd and /etc/group
> files by using the following commands at the cmd.exe prompt:
>
> cd x:\cygwin\etc
> echo "Everyone:*:65534:0:,S-1-1-0::" >> passwd
> echo "Everyone:S-1-1-0:0:" >> group
>
> and then post the output of ".\ls.exe -ln .\ls.exe" again. If this is not
> the case, please post the contents of your /etc/passwd and /etc/group, and
> the output of "x:\cygwin\bin\id.exe"... For some reason, the cygcheck
> output you posted earlier indicated that you logged in as "Administrator",
> but you said that you logged in as a domain user... This is weird.
No, I was running cygcheck as administrator ( local ). Sorry for not
mentioning.
Here is cygcheck running as me :
Cygwin Win95/NT Configuration Diagnostics
Current System Time: Tue Aug 05 16:37:09 2003
Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 3
Path: X:\Perl\bin\
C:\Inprise\vbroker\bin
C:\WINNT\system32
C:\WINNT
C:\WINNT\System32\Wbem
C:\Program Files\Support Tools\
C:\smallApps\wget
X:\Program Files\Hummingbird\Connectivity\7.10\Accessories\
X:\Program Files\Hummingbird\Connectivity\7.10\NFSClient
x:\Program Files\Rational\ClearCase\bin
C:\Program Files\UltraEdit
C:\data\stein\progs\apache-ant-1.5.2\bin
x:\cygwin\bin\id.exe output (nontsec)
UID: 400(stein) GID: 401(mkpasswd)
401(mkpasswd)
x:\cygwin\bin\id.exe output (ntsec)
UID: 400(stein) GID: 401(mkpasswd)
401(mkpasswd)
SysDir: C:\WINNT\System32
WinDir: C:\WINNT
Path =
`X:\Perl\bin\;C:\Inprise\vbroker\bin;C:\WINNT\system32;C:\WINNT;C:\WINNT\Sys
tem32\Wbem;C:\Program Files\Support Tools\;C:\smallApps\wget;X:\Program
Files\Hummingbird\Connectivity\7.10\Accessories\;X:\Program
Files\Hummingbird\Connectivity\7.10\NFSClient;x:\Program
Files\Rational\ClearCase\bin;C:\Program
Files\UltraEdit;C:\data\stein\progs\apache-ant-1.5.2\bin'
ALLUSERSPROFILE = `C:\Documents and Settings\All Users'
ANT_HOME = `C:\data\stein\progs\apache-ant-1.5.2'
APPDATA = `C:\Documents and Settings\stein\Application Data'
CLASSPATH =
`.;C:\data\stein\progs\jakarta-log4j-1.2.8\dist\lib\log4j-1.2.8.jar'
CommonProgramFiles = `C:\Program Files\Common Files'
COMPUTERNAME = `JUICE'
ComSpec = `C:\WINNT\system32\cmd.exe'
HOMEDRIVE = `C:'
HOMEPATH = `\'
JAVA_HOME = `x:\j2sdk1.4.1_03'
LOG4J_HOME = `C:\data\stein\progs\jakarta-log4j-1.2.8'
LOGONSERVER = `\\JADRAN'
NUMBER_OF_PROCESSORS = `1'
OS = `Windows_NT'
Os2LibPath = `C:\WINNT\system32\os2\dll;'
PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
PROCESSOR_ARCHITECTURE = `x86'
PROCESSOR_IDENTIFIER = `x86 Family 6 Model 8 Stepping 6, GenuineIntel'
PROCESSOR_LEVEL = `6'
PROCESSOR_REVISION = `0806'
ProgramFiles = `C:\Program Files'
PROMPT = `$P$G'
SystemDrive = `C:'
SystemRoot = `C:\WINNT'
TEMP = `C:\DOCUME~1\stein\LOCALS~1\Temp'
TMP = `C:\DOCUME~1\stein\LOCALS~1\Temp'
USERDOMAIN = `MARIBOR'
USERNAME = `stein'
USERPROFILE = `C:\Documents and Settings\stein'
windir = `C:\WINNT'
HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
(default) = `/cygdrive'
cygdrive flags = 0x00000020
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/
(default) = `C:'
flags = 0x00000000
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 = 0x00000022
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/
(default) = `x:\cygwin'
flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin
(default) = `x:\cygwin/bin'
flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib
(default) = `x:\cygwin/lib'
flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options
a: fd N/A N/A
c: hd NTFS 4000Mb 88% CP CS UN PA FC w2kmain
d: net NTFS 37998Mb 27% CP CS PA mp3
k: cd N/A N/A
m: net MVFS 1000Mb 50% CP CS CCase
o: hd NTFS 1364Mb 22% CP CS UN PA FC temp build
x: hd NTFS 4000Mb 61% CP CS UN PA FC temp1
z: net MVFS 1000Mb 50% CP CS CCase
C: / user textmode
. /cygdrive user textmode,cygdrive
x:\cygwin / system binmode
x:\cygwin/bin /usr/bin system binmode
x:\cygwin/lib /usr/lib system binmode
. /cygdrive system binmode,cygdrive
Not Found: awk
Not Found: bash
Found: X:\Program Files\Hummingbird\Connectivity\7.10\NFSClient\cat.exe
Not Found: cp
Not Found: cpp (good!)
Not Found: find
Not Found: gcc
Not Found: gdb
Not Found: grep
Not Found: ld
Found: X:\Program Files\Hummingbird\Connectivity\7.10\NFSClient\ls.exe
Not Found: make
Not Found: mv
Not Found: rm
Not Found: sed
Not Found: sh
Not Found: tar
Cygwin Package Information
Last downloaded files to:
Last downloaded files from:
Package Version
_update-info-dir 00193-1
ash 20020731-1
base-files 1.3-1
base-passwd 1.1-1
bash 2.05b-9
bzip2 1.0.2-2
clear 1.0-1
cpio 2.5-2
cygwin 1.3.22-1
diff 1.0-1
diffutils 2.8.1-1
file 4.03-1
fileutils 4.1-1
findutils 4.1.7-4
gawk 3.1.3-1
gdbm 1.8.3-3
gnupg 1.2.2-1
grep 2.5-1
gzip 1.3.3-4
less 381-1
libbz2_1 1.0.2-2
libgdbm 1.8.0-5
libgdbm-devel 1.8.3-3
libgdbm3 1.8.3-3
libgdbm4 1.8.3-6
libiconv2 1.8-3
libintl1 0.10.40-1
libintl2 0.11.5-1
libncurses5 5.2-1
libncurses6 5.2-8
libncurses7 5.3-1
libpcre 4.1-1
libreadline4 4.1-2
libreadline5 4.3-2
login 1.9-5
mktemp 1.4-1
ncurses 5.3-1
patch 2.5.8-6
readline 4.3-2
rpm 4.1-1
sed 4.0.7-1
sh-utils 2.0.15-3
tar 1.13.25-1
termcap 20021106-2
terminfo 5.3_20030726-1
texinfo 4.2-4
textutils 2.0.21-1
unzip 5.50-4
which 1.5-1
zip 2.3-4
zlib 1.1.4-1
Use -h to see help about each section
> Igor
> --
> http://cs.nyu.edu/~pechtcha/
> |\ _,,,---,,_ pechtcha@cs.nyu.edu
> ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.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/