From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16979 invoked by alias); 11 Nov 2014 16:57:55 -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 16951 invoked by uid 89); 11 Nov 2014 16:57:54 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.6 required=5.0 tests=AWL,BAYES_50,UNSUBSCRIBE_BODY autolearn=no version=3.3.2 X-HELO: calimero.vinschen.de Received: from aquarius.hirmke.de (HELO calimero.vinschen.de) (217.91.18.234) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 11 Nov 2014 16:57:53 +0000 Received: by calimero.vinschen.de (Postfix, from userid 500) id 4A5918E12EE; Tue, 11 Nov 2014 17:57:51 +0100 (CET) Date: Tue, 11 Nov 2014 16:57:00 -0000 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: RFC: 1.7.33 problem with user's home directory Message-ID: <20141111165751.GV2782@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <20141110205216.GJ2782@calimero.vinschen.de> <0B8D23F7-0258-472D-BF38-860402FD3CDC@etr-usa.com> <20141111101821.GO2782@calimero.vinschen.de> <551076208.20141111182959@yandex.ru> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="BcZrms9gUsdgyR6a" Content-Disposition: inline In-Reply-To: <551076208.20141111182959@yandex.ru> User-Agent: Mutt/1.5.23 (2014-03-12) X-SW-Source: 2014-11/txt/msg00239.txt.bz2 --BcZrms9gUsdgyR6a Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 2017 On Nov 11 18:29, Andrey Repin wrote: > Greetings, Corinna Vinschen! >=20 > >> > Shall the "db" entries utilize the Windows home folder if it exits(*) > >> > and drop using the unixHomeDirectory? It seems inevitable=E2=80=A6 > >>=20 > >> Use of AD implies some level of security consciousness. The ability t= o write to c:\cygwin =E2=80=94 not just during installation, but during all= use thereafter! =E2=80=94 comes out of a world where every user is a local= Administrator. > >>=20 > >> This answer I wrote on Stack Overflow is one way to solve the problem = today: > >>=20 > >> http://stackoverflow.com/questions/26666180/ > >>=20 > >> It might not be a bad idea if Cygwin started doing this sort of thing = by default in the future. (Obviously for new installs only.) >=20 > > What I gather from the replies so far is this: >=20 > > - Nobody really cares for unixHomeDirectory. >=20 > As I understand it from replies, it's not "nobody care", it's "this is wr= ong > way of doing it". It's not the wrong thing if it's not used for anything else in a company. > > Another: >=20 > > 1. Add a setting to /etc/nsswitch.conf which allows to specify one of > > the above: >=20 > > home: [unix|win|home]... >=20 > > - "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. >=20 > How about a slight modification to this? >=20 > nsswitch.conf configurable settings: > user: Use %AppData%/Cygwin%PLATFORM% (Separate directory for different > platform Cygwins) I really don't like this one. Your naming scheme (user/system/cygwin) has its merits, but I don't see that a home directory of any sort belongs under AppData. Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --BcZrms9gUsdgyR6a Content-Type: application/pgp-signature Content-length: 819 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJUYkAPAAoJEPU2Bp2uRE+gtIIP/0QsTSHdiwOqatmhdvQW7vgG rECRf+WVYtB3MQ3ISdQ7fwOWj2KCZrPwVm9HF86IE4GKqQ/2SGqD1tvzKM77ynAQ +iZCZodQa0mBA8e8V2UFom8txu/DE7sab497luFv+PkpAOXL2HB/SLaVdsyFqB78 J6GCaTMC9nMbEdDU/vbc3KV9/dNkVQF/6llcjQ+ApUqjO7Ppxf9+QUB3qZR7Axxe l92Wz/gfc6/VoYs5Nfbr0T6KMa7BsTYmnMu4L+ZaW923dmN3EPlYifSNi1oUhn0j iGajqDf895iomqxTithQv1lbOG9SmhH5g4f7nlzz6S/q8sLqxL4AI3tPIW9q8GmT HBbUN3twZK7qcotyy3TzuJfV8lnqOZeyq6tLyJJRB/nNsr7z38cBZ8HIla6FxTw2 5zKjqivn32ghE4JChRu37Y8nDxe8CuJmS5GFEhPe1h8krs8evq0jSNrXuLjkBPd/ +qYzLIhdfR4d0BS/LjpZJKm3ndyTE3KIgO4m0W61MD07DNunmHXOhjTfd1jDJTG7 x4Ebxzwd9s6CAhf+yOjpta0UOgbT2md2BfutbpUVVhZj8SPrcik+kVnCj7qVlJmC 2ojOGj63ClZMlGdGk5ejAvijkZ0EHsJIbBgi/OsCyfm5HB45k3/UzKcXsL5YHUCx lliAYd5K7g9kZ6VCS3p+ =hDPO -----END PGP SIGNATURE----- --BcZrms9gUsdgyR6a--