From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16902 invoked by alias); 11 Nov 2014 06:50:10 -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 16883 invoked by uid 89); 11 Nov 2014 06:50:07 -0000 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 Received: from smtp.ht-systems.ru (HELO smtp.ht-systems.ru) (78.110.50.177) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Tue, 11 Nov 2014 06:50:06 +0000 Received: from [91.78.178.160] (helo=darkdragon.lan) by smtp.ht-systems.ru with esmtpa (Exim 4.80.1) (envelope-from ) (Authenticated sender: postmaster@rootdir.org) id 1Xo5H7-00073Z-UY ; Tue, 11 Nov 2014 09:50:02 +0300 Received: from [192.168.1.10] (HELO daemon2) by daemon2 (Office Mail Server 0.8.12 build 08053101) with SMTP; Tue, 11 Nov 2014 06:40:55 -0000 Date: Tue, 11 Nov 2014 06:50:00 -0000 From: Andrey Repin Reply-To: cygwin@cygwin.com Message-ID: <12245034.20141111094055@yandex.ru> To: Yaakov Selkowitz , cygwin@cygwin.com Subject: Re: RFC: 1.7.33 problem with user's home directory In-Reply-To: <54619008.4070505@cygwin.com> References: <20141110205216.GJ2782@calimero.vinschen.de> <54619008.4070505@cygwin.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2014-11/txt/msg00211.txt.bz2 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@yandex.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