X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:content-type:mime-version:subject:from :in-reply-to:date:content-transfer-encoding:message-id :references:to; q=dns; s=default; b=uNxajHGuBzcHrMRe9vdTqGQLGJF+ vsAPPQOS7ExlkJf6tauh0WcbPCTpBjIwZ70qYJC5J2mayOohuVp4pIRRboIVLo63 e0tNYiiUV4XxZjiE3sU8uoS8i33LJ9nNWqUV2+m+Jd07++Eb3t08FcHdyZHKJ3sa ymbp50++ePsm3ss= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:content-type:mime-version:subject:from :in-reply-to:date:content-transfer-encoding:message-id :references:to; s=default; bh=VnqqI4J5IO19nwraOEdGsRWd2hk=; b=Rr 0xKb5azgvCZurJdeiU1O4XT/fDK+GcrSBqrNeLvSyskLFFbB1llP2hxhkmYOTAnG 1VBb/hX6z76heAUxjPhC1NlT0jnYI8L3YBSVW32BmtQPqo8LAvJYzeJ1CaYm7oCr mR3g4B4QgskPdof/+fR/uzFUnxsk02YIxj47oV1Y0= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 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 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 09:45:27 -0700 Message-Id: <6FA5AF0B-E176-49DA-A679-A2F9272412D0@etr-usa.com> References: <20141110205216 DOT GJ2782 AT calimero DOT vinschen DOT de> <0B8D23F7-0258-472D-BF38-860402FD3CDC AT etr-usa DOT com> <20141111101821 DOT GO2782 AT calimero DOT vinschen DOT de> To: cygwin AT cygwin DOT com X-IsSubscribed: yes Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id sACGjIOs018705 On Nov 11, 2014, at 3:18 AM, Corinna Vinschen wrote: > 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’m in favor of it. (By subset I mean that I’d prefer you do essentially the same thing for the non-AD case, too.) > 1. Always use /home/$USER and let the admins come up with a matching > mount point scheme. That’s neglecting your responsibility as BDFL to set a sensible default. The consequence is that everyone will do it differently, and then you’ll have to support everything on an equal basis, because you chose not to endorse anything. When you choose a sensible default, you get the option to criticize and even deprecate wild alternative schemes. > 1. Add a setting to /etc/nsswitch.conf which allows to specify one of > the above: > > home: [unix|win|home]... > > - "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 sensible default but also a list of endorsed alternatives. Whether you *want* to endorse some or all of these alternatives by codifying 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