delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/04/05/11:50:19

X-Recipient: archive-cygwin AT delorie DOT 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 AT cygwin DOT com
From: Achim Gratz <Stromeko AT nexgo DOT 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 DOT 20120403143701 DOT GA19014 AT calimero DOT vinschen DOT de> <87y5qbz5ye DOT fsf AT Rainer DOT invalid> <20120405101859 DOT GM13898 AT calimero DOT vinschen DOT de>
Mime-Version: 1.0
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.95 (gnu/linux)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019