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 Date: Fri, 31 Jan 2003 11:04:04 -0500 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: cygwin 1.3.19-1 and up: Garbage printed in ls output if the user entry is missing from /etc/passwd Message-ID: <20030131160404.GF28668@redhat.com> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.1i 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/