From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30698 invoked by alias); 12 Nov 2014 16:45:07 -0000 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 Received: (qmail 30687 invoked by uid 89); 12 Nov 2014 16:45:06 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=1.5 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: etr-usa.com Received: from etr-usa.com (HELO etr-usa.com) (130.94.180.135) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 12 Nov 2014 16:45:05 +0000 Received: (qmail 47813 invoked by uid 13447); 12 Nov 2014 16:45:03 -0000 Received: from unknown (HELO polypore.west.etr-usa.com) ([68.35.121.157]) (envelope-sender ) by 130.94.180.135 (qmail-ldap-1.03) with AES128-SHA encrypted SMTP for ; 12 Nov 2014 16:45:03 -0000 Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Subject: Re: RFC: 1.7.33 problem with user's home directory From: Warren Young In-Reply-To: <20141111101821.GO2782@calimero.vinschen.de> Date: Wed, 12 Nov 2014 16:45:00 -0000 Content-Transfer-Encoding: quoted-printable Message-Id: <6FA5AF0B-E176-49DA-A679-A2F9272412D0@etr-usa.com> References: <20141110205216.GJ2782@calimero.vinschen.de> <0B8D23F7-0258-472D-BF38-860402FD3CDC@etr-usa.com> <20141111101821.GO2782@calimero.vinschen.de> To: cygwin@cygwin.com X-IsSubscribed: yes X-SW-Source: 2014-11/txt/msg00272.txt.bz2 On Nov 11, 2014, at 3:18 AM, Corinna Vinschen w= rote: > 1. Utilize the homeDirectory AD attribute (aka %HOMEDRIVE%%HOMEPATH%). > 2. If homeDirectory is empty, fall back to /home/$USER. This is just a subset of what I suggested, so I=92m in favor of it. (By subset I mean that I=92d prefer you do essentially the same thing for t= he non-AD case, too.) > 1. Always use /home/$USER and let the admins come up with a matching > mount point scheme. That=92s neglecting your responsibility as BDFL to set a sensible default. = The consequence is that everyone will do it differently, and then you=92ll= have to support everything on an equal basis, because you chose not to end= orse anything. When you choose a sensible default, you get the option to criticize and eve= n deprecate wild alternative schemes. > 1. Add a setting to /etc/nsswitch.conf which allows to specify one of > the above: >=20 > home: [unix|win|home]... >=20 > - "unix" means, set pw_dir to unixHomeDirectory > - "win" means, set pw_dir to homeDirectory > - "home" means, set pw_dir to /home/$USER > - Multiple entries are possible. > - Default in the absence of this setting is: always set pw_dir to > /home/$USER. I see that as orthogonal. It has the advantage of providing not only a sen= sible default but also a list of endorsed alternatives. Whether you *want* to endorse some or all of these alternatives by codifyin= g them is a separate question. -- 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