delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/11/10/19:50:28

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=Z++GJZNHZdP7gMBz
Oefo7BJExbJf2+mcoa3extBpgZiLE0/eExfwOS/QcPgEV1ZrQFsI3i1P1kLYFEY0
MUaSiaqUJdx2YtGA+KMsos0MfhYk/tCqNiDkIzZPwwJlARlC7HLvq81bgvaY5S5u
bOo8tXMN8/OXo7MhWMF0ZUztOz4=
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=+PgkdYYa68syH39a4B1sIM
cM7Q4=; b=HooDBD0h4UxVCCbYs+2U/2IJ8o+LB4yygb1icXnYT4mOTLXC4msvcm
11TxFAaGP06LvvLViy+Pa/Oyu1WxoQ9Ykle3KUNld6Dg/vh1hw9j8JUVwSsDhG0E
ytBerW8dCeG8aaZYYLQLzz5dtqBU8Od1abPPwIgOJZD1To+AeOMAE=
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: Tue, 11 Nov 2014 03:45:08 +0300
From: Andrey Repin <anrdaemon AT yandex DOT ru>
Reply-To: cygwin AT cygwin DOT com
Message-ID: <8610462468.20141111034508@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: <20141110205216.GJ2782@calimero.vinschen.de>
References: <20141110205216 DOT GJ2782 AT calimero DOT vinschen DOT de>
MIME-Version: 1.0
X-IsSubscribed: yes
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id sAB0oOdv030150

Greetings, Corinna Vinschen!

> Up to Cygwin 1.7.32, mkpasswd (but not with -u) generated the Cygwin
> home directory by converting the SAM/AD home folder entry to POSIX
> style, if it's non-empty.  Fallback is /home/$USER.

> When I implemented the new scheme I thought it a good idea to decouple
> the Cygwin home dir from the Windows home dir.  However, in the today's
> discussion the following two arguments came up:

> - If you're using the Windows home folder setting to maintain file
>   server based home directories, you typically want that these
>   directories are used for Cygwin stuff as well (central administration,
>   central backup).
>   Having to maintain the home directories twice, once in the
>   homeDirectory, once in the unixHomeDirectory entry is quite a hassle,
>   especially given that unixHomeDirectory does not support variable
>   substitution (e.g. "/home/%USERNAME%" won't work).

> - If you're already using AD as NIS server, unixHomeDirectory is already
>   used for UNIX machines.  Trying to align the unixHomeDirectory for
>   Cygwin to homeDirectory for all the rest of Windows will potentially
>   become impossible then.

> These arguments are quite serious and it questions the "good idea" part
> of this change a lot.

> What do you think?

> Shall the "db" entries utilize the Windows home folder if it exits(*)
> and drop using the unixHomeDirectory?  It seems inevitable...

All I can say about this issue is… I told you.
I see literally zero reason to maintain separate, cygwin-specific "home"
directory.
If you want a separate environment to play with, VirtualBox is there to
accommodate your wildest dreams. (Though, Oracle is trying hard to turn people
away from using VB since 4.3.13+)


--
WBR,
Andrey Repin (anrdaemon AT yandex DOT ru) 11.11.2014, <03:37>

Sorry for my terrible english...

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019