delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/11/11/01:50:26

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=Ubb4EDweI1n+RVfA
loMDD6TtBC3xZWm1xiSkm9TBa3o97NJXEBDTjwKlba/tgSHbYDiQhqA30bGAN533
B2FajB4JF0w5EtipHhnThUd0iHCWDWR+PYrAid9VQFtobpaPEULqmXkZbwK5a/nI
f1vVkjtfP2NUm5k415TKYLCsX60=
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=i8bUYCxkbc/DmLXw3aI/L+
qb8Gs=; b=PzVVZllMj7f//xuo5HMZuNTTNX4/n6j8lrQSJfRYL67gozEhBHphh2
rckL16wKM9N9rWFg4lHa/66IjPrvnVK6fD4wdXRQ0DvqRESNTYY/2j3yG6mswvQn
R7gQMemy7/Fzl2akXrBzJ0Mi/GHicwuwWRDdbWxVJgGJ5KDkvfF6E=
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,SPF_SOFTFAIL autolearn=no version=3.3.2
X-Spam-User: qpsmtpd, 2 recipients
X-HELO: smtp.ht-systems.ru
Date: Tue, 11 Nov 2014 09:40:55 +0300
From: Andrey Repin <anrdaemon AT yandex DOT ru>
Reply-To: cygwin AT cygwin DOT com
Message-ID: <12245034.20141111094055@yandex.ru>
To: Yaakov Selkowitz <yselkowitz AT cygwin DOT com>, cygwin AT cygwin DOT com
Subject: Re: RFC: 1.7.33 problem with user's home directory
In-Reply-To: <54619008.4070505@cygwin.com>
References: <20141110205216 DOT GJ2782 AT calimero DOT vinschen DOT de> <54619008 DOT 4070505 AT cygwin DOT com>
MIME-Version: 1.0
X-IsSubscribed: yes

Greetings, Yaakov Selkowitz!

>> 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...

> If one uses the same program, one native Windows and one Cygwin, they 
> would then potentially cause conflicting/incompatible config dot-files 
> in the same directory (line endings, path conventions, etc.).

I would imagine using one or another. But not both. Native version of the same
program usually runs better, than the one running through compatibility layer.
Then again, many programs, that have native Windows version, use native
Windows conventions (I.e. put things in %AppData% rather than clogging
%USERPROFILE% with dot-dirs.)
Out of my list of programs, only GIMP and Dia would share the config dirs, if
I would try to set up Cygwin versions of either along with native one.
And all this worth nothing, because if someone's doing something like that,
they are either know what they are doing, and prepared for the possible
outcome, or deserve everything that could happen. IMO.
Not to mention, we're discussing default configuration here. You can alter it
easily to fit your needs, Cygwin gives you all that you need to achieve it.

In short, elusive benefits of having a separate cygwin-specific "clean" homes
versus confusing disjoint of multiple places to look for single user's files,
settings, and other stuff when it comes to backups and migrating profiles.


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

Sorry for my terrible english...


--
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

- Raw text -


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