RFC: 1.7.33 problem with user's home directory
Habermann, David (D)
DAHabermann@dow.com
Tue Nov 11 12:48:00 GMT 2014
>>> 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
More information about the Cygwin
mailing list