This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: cygwin 1.3.19-1 and up: Garbage printed in ls output if the user entry is missing from /etc/passwd
- From: Christopher Faylor <cgf at redhat dot com>
- To: cygwin at cygwin dot com
- Date: Fri, 31 Jan 2003 11:04:04 -0500
- Subject: Re: cygwin 1.3.19-1 and up: Garbage printed in ls output if the user entry is missing from /etc/passwd
- References: <Pine.LNX.4.44.0301311302330.18664-100000@moria.atlanticsky.com>
- Reply-to: cygwin at cygwin dot com
On Fri, Jan 31, 2003 at 01:16:30PM +0100, Pavel Tsekov wrote:
>Hello,
>
>I've just completed a fresh installation of Cygwin on Win2k Pro / SP3. I
>installed Cygwin as Administrator but then created an user called ptsekov.
>It happened that I forgot to update the password database after I created
>the new user. So I've logged in as ptsekov and the first thing I saw was
>the strange prompt - with the latests snapshot version of Cygwin
>(20030130) it looks like this for me:
>
><@mordor
>
>With the released 1.3.19-1 version it was a little bit different.
>
>Then I issued 'ls -l' on a directory which contained files with owner
>'ptsekov'. The output contained garbage in the owner field of the 'ls'
>output.
>
>Now I know that it is not good if the user's entry is missing from the
>passwd database and I've corrected this, but I thought I'd post so that
>this could be fixed. It seems like there is some variable
>left uninitialized if the passwd entry is missing.
I think I messed this up. I'll fix it.
Thanks for the heads up.
cgf
--
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/