delorie.com/archives/browse.cgi | search |
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:date:from:reply-to:message-id:to:subject | |
:in-reply-to:references:mime-version:content-type | |
:content-transfer-encoding; q=dns; s=default; b=MDMmCa2yrU6myE7V | |
uF5UYDbo2aUU40bdAz3gdFlvyXdVcHdyEgVf1oGIA6jgpptA8qGcHx3YB2IJg069 | |
dsGs5U6H9RbL/t8qpaQxia9hfMA3b//CrKN2Z/f2/qzksR47moMDEF8kWbH1gstA | |
CQV0E/+gHhfLHYwdDkhee0gD2FU= | |
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:date:from:reply-to:message-id:to:subject | |
:in-reply-to:references:mime-version:content-type | |
:content-transfer-encoding; s=default; bh=qQyqJj49TCBHJDIEvAdMDQ | |
boLxI=; b=DVMWGhjZHbmWkMQ75//VpTzJfI+nNCHQe/0Lr6T/56fkqtBT5JEJkZ | |
U0lf9MJUmbteL5pSSwKodr+FgGVrBC4Hi0ux3HHmqNAGLmiMiOXC7ssVRbS8V8pE | |
21HJAq4LPeCGPL/3TI9pHSOvH9pmnx1FAIGYVvA7E7u2qB39/BhA4= | |
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 |
Authentication-Results: | sourceware.org; auth=none |
X-Virus-Found: | No |
X-Spam-SWARE-Status: | No, score=-3.3 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_THEBAT,MIME_BASE64_BLANKS,SPF_SOFTFAIL autolearn=no version=3.3.2 |
X-HELO: | smtp.ht-systems.ru |
Date: | Fri, 14 Nov 2014 01:04:59 +0300 |
From: | Andrey Repin <anrdaemon AT yandex DOT ru> |
Reply-To: | cygwin AT cygwin DOT com |
Message-ID: | <671922837.20141114010459@yandex.ru> |
To: | Corinna Vinschen <cygwin AT cygwin DOT com>, cygwin AT cygwin DOT com |
Subject: | Re: RFC: 1.7.33 problem with user's home directory |
In-Reply-To: | <20141113092702.GH2782@calimero.vinschen.de> |
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> <6FA5AF0B-E176-49DA-A679-A2F9272412D0 AT etr-usa DOT com> <20141113092702 DOT GH2782 AT calimero DOT vinschen DOT de> |
MIME-Version: | 1.0 |
X-IsSubscribed: | yes |
X-MIME-Autoconverted: | from base64 to 8bit by delorie.com id sADM5OvW022926 |
Greetings, Corinna Vinschen! >> > 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.) > This would be most easily implemented as well. > The beauty here is that probably 99% of the home users don't set > HOMEDRIVE/HOMEPATH in their SAM. They are always set by default. > So they get /home/$USER as fallback, No. > which is what they got with /etc/passwd as well. And SAM users have the > XML-like description field entry as well. > For AD environments HOMEDRIVE/HOMEPATH are typically set, though. HOMEDRIVE/HOMEPATH always set. > Here the users get what they have to use as homedir anyway. > It's simple, but it should work OOTB for most people. Yes, it'll work. Just not as you expect it. >> > 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 > Heh. I didn't see myself as BDFL yet. Not sure if that's an honor. That's a chore. But someone has to pull it. >> 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. > This is a philosophical argument. You'd have to argue in how far > always using /home/$USER is NOT a sensible default. I can give you a whole list of reason, including quotes from Cygwin documentation, why this is not a good idea. And "cygwin is not an operating system" will be a red canvas through them. -- WBR, Andrey Repin (anrdaemon AT yandex DOT ru) 14.11.2014, <00:49> Sorry for my terrible english...
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |