X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.3 required=5.0	tests=AWL,BAYES_00,KHOP_THREADED,SPF_HELO_PASS,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: Achim Gratz <Stromeko@nexgo.de>
Subject: Re: [ANNOUNCEMENT] Updated: Cygwin 1.7.12
Date: Thu, 05 Apr 2012 17:49:26 +0200
Lines: 44
Message-ID: <87bon6rxfd.fsf@Rainer.invalid>
References: <announce.20120403143701.GA19014@calimero.vinschen.de>	<87y5qbz5ye.fsf@Rainer.invalid>	<20120405101859.GM13898@calimero.vinschen.de>
Mime-Version: 1.0
Content-Type: text/plain
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.95 (gnu/linux)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Corinna Vinschen writes:
> The weird home dir could be a bug in Cygwin.  I can't reproduce it,
> but I could think of a reason.  Do you have a directory called
> /mnt/userdata or an account called userdata in /etc/passwd?  Anyway,
> I applied a patch which should result in:

No account there with the name "userdata", but there was an empty
directory named /mnt/userdata.  I've deleted it since the mountpoint
will work without it, let's see if the issue comes up again.

>   $ cd ~\?\?\?\?\?\?\?\?
>   : No such file or directory.

I ended up in /mnt/userdata, but the really interesting issue was if I
would then cd into "All Users" for instance, the prompt would show:

~\?\?\?\?\?\?\?\/All Users

I had to do a 'cd ~otheruser' to a user that has a home dir in passwd
before tcsh forgot about that association, IIRC.  I can test that again
if it is of any importance.

> As you know, Cygwin has to map between Windows SID and POSIX uid/gid
> when mapping user accounts.  That's what /etc/passwd and /etc/group are
> for.  If a file belongs to a user for which there's no entry in
> /etc/passwd (same for group -> /etc/group), then the uid is set to -1.
> ls then prints somthing like this:
[...]

I don't have any problems with the question marks showing up in
directory listings, I would just prefer if a user that has no home
directory set in /etc/passwd is not offered as an expansion for '~'.

But as there are likely more important problems to solve, if things stay
as they arethis is also OK.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Wavetables for the Terratec KOMPLEXER:
http://Synth.Stromeko.net/Downloads.html#KomplexerWaves


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

