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: Tue, 5 Aug 2003 10:33:44 -0400 (EDT) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: David Balazic cc: cygwin AT cygwin DOT com Subject: RE: Directory problems after fresh install of v1.3.22-1 In-Reply-To: <600B91D5E4B8D211A58C00902724252C01BC02A8@piramida.hermes.si> Message-ID: Importance: Normal MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Tue, 5 Aug 2003, David Balazic wrote: > > From: Igor Pechtchanski > > Reply To: cygwin AT cygwin DOT com > > Sent: 5. avgust 2003 16:06 > > To: David Balazic > > Cc: cygwin AT cygwin DOT 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 AT cygwin DOT com > > > > Sent: 5. avgust 2003 14:46 > > > > To: David Balazic > > > > Cc: cygwin AT cygwin DOT 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 -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 , 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 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. 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/