From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31029 invoked by alias); 5 Apr 2012 18:24:55 -0000 Received: (qmail 30950 invoked by uid 22791); 5 Apr 2012 18:24:33 -0000 X-Spam-Check-By: sourceware.org Received: from aquarius.hirmke.de (HELO calimero.vinschen.de) (217.91.18.234) by sourceware.org (qpsmtpd/0.83/v0.83-20-g38e4449) with ESMTP; Thu, 05 Apr 2012 18:24:19 +0000 Received: by calimero.vinschen.de (Postfix, from userid 500) id A5F2F2C006E; Thu, 5 Apr 2012 20:24:16 +0200 (CEST) Date: Thu, 05 Apr 2012 18:24:00 -0000 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: [ANNOUNCEMENT] Updated: Cygwin 1.7.12 Message-ID: <20120405182416.GZ13898@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <87y5qbz5ye.fsf@Rainer.invalid> <20120405101859.GM13898@calimero.vinschen.de> <87bon6rxfd.fsf@Rainer.invalid> <20120405161505.GY13898@calimero.vinschen.de> <877gxurqss.fsf@Rainer.invalid> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <877gxurqss.fsf@Rainer.invalid> User-Agent: Mutt/1.5.21 (2010-09-15) Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2012-04/txt/msg00201.txt.bz2 On Apr 5 20:12, Achim Gratz wrote: > Corinna Vinschen writes: > > On Apr 5 17:49, Achim Gratz wrote: > >> 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 '~'. > > > > Expansion is done by the shell, not by Cygwin. > > Yes, but since there is no entry for the home dir in passwd for these > users, the association with /mnt/userdata/ must come from the way Cygwin > interprets them. No. Cygwin just provides the naked data. The rest is entirely in the jurisdiction of the application using the data. Just as on any other OS. > Is there any harm to set a different (maybe even > non-existing) home directory in passwd for these accounts? That would > likely solve that problem, I'd think. Not at all. Follow my suggestion and add an entry for the ???????? user with a non-existent dir "/foo" to /etc/passwd. The shell will dilligently pick up the entry and `cd ~\?\?\?\?\?\?\?\?' will result in a "/foo: No such file or directory" message. If you think this should be changed, you will have to complain upstream in the bash or dash or mksh or tcsh or zsh developer's mailing list. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- 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