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:to:subject:message-id:reply-to | |
:references:mime-version:content-type:in-reply-to; q=dns; s= | |
default; b=nS3Rka+JoSJDjjIVT62ef7hKG3wRgqTwwPQ1Ct+DL3nRRMcwfWwGu | |
XW7u+zA/XVF1u9Lstnx6GV96TnZSYGWz8Boy+IRFmqEGVn3Tswdl3nhnpL7lU1jl | |
8Bq3UWgSt2aHez63KFmAFmuudZTwM/n+zrz2ik3VhU78Zd6Wn/niwk= | |
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:to:subject:message-id:reply-to | |
:references:mime-version:content-type:in-reply-to; s=default; | |
bh=/yeOrI1YvzJj0b13L0MtBp7Lm7o=; b=FG86XhOgPbtFdbnAZfDiwoN6uqvy | |
fvmMnp7Q7NHp10y4ysgxto7H0/n6jNPlDL/6pruCc5Hm3lr/o2fT/oGSDFAHRVZS | |
cD5gKEQVgbcHiqBJnVE0BRxUH9sNvUBJ5x2MjP9V575W8ftPjKtBkaHE9M9Qgaok | |
tzOO7QTlxgh+KDo= | |
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.6 required=5.0 tests=AWL,BAYES_50,UNSUBSCRIBE_BODY autolearn=no version=3.3.2 |
X-HELO: | calimero.vinschen.de |
Date: | Tue, 11 Nov 2014 17:57:51 +0100 |
From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: RFC: 1.7.33 problem with user's home directory |
Message-ID: | <20141111165751.GV2782@calimero.vinschen.de> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
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> <551076208 DOT 20141111182959 AT yandex DOT ru> |
MIME-Version: | 1.0 |
In-Reply-To: | <551076208.20141111182959@yandex.ru> |
User-Agent: | Mutt/1.5.23 (2014-03-12) |
--BcZrms9gUsdgyR6a Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 -----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--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |