X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Thu, 5 Apr 2012 20:24:16 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: [ANNOUNCEMENT] Updated: Cygwin 1.7.12 Message-ID: <20120405182416.GZ13898@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <87y5qbz5ye DOT fsf AT Rainer DOT invalid> <20120405101859 DOT GM13898 AT calimero DOT vinschen DOT de> <87bon6rxfd DOT fsf AT Rainer DOT invalid> <20120405161505 DOT GY13898 AT calimero DOT vinschen DOT de> <877gxurqss DOT fsf AT Rainer DOT 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 AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 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