This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: RFC: 1.7.33 problem with user's home directory
- From: "Habermann, David (D)" <DAHabermann at dow dot com>
- To: "cygwin at cygwin dot com" <cygwin at cygwin dot com>
- Date: Tue, 11 Nov 2014 12:47:59 +0000
- Subject: RE: RFC: 1.7.33 problem with user's home directory
- Authentication-results: sourceware.org; auth=none
- Authentication-results: spf=none (sender IP is 65.52.44.158) smtp dot mailfrom=DAHabermann at dow 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> <loom dot 20141111T112847-576 at post dot gmane dot org> <20141111111437 dot GB28012 at calimero dot vinschen dot de>
>>> Another:
>>>
>>> 1. Add a setting to /etc/nsswitch.conf which allows to specify one of
>>> the above:
>>>
>>> home: [unix|win|home]...
>>>
>>> - "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.
>
>> Looks good, but maybe allow the AD attribute to be explicitly named (e.g.
>> cygwinHomeDirectory).
>
>Cygwin schema extension? :)
Sorry to join in the fun here so late, but I like the current behavior and really don't see any reason (given my usage) why I'd want to mix my cygwin and windows files together in the same directory. Additionally, I don't have the ability to change the unixHomeDirectory field in our AD. I also like having everything stored under one main directory (c:\cygwin) for ease of backup and ease of identification of all cygwin-involved files for our virus and our application whitelisting systems.
As I result, if folks feel that something must be done, I like the plan above. I don't really care what the default behavior is, so long as the "home: home" option is available.
Dave