# HG changeset patch # User Oleksandr Gavenko # Date 1496239101 -10800 # Node ID e5191a677ee5b98e59c22ddfb811e98fc04439f8 # Parent e377b322bdd7563c88e0a2431b77eca2bfd8b611 Create symlink to home directory. diff -r e377b322bdd7 -r e5191a677ee5 cygwin.rst --- a/cygwin.rst Wed May 31 13:58:26 2017 +0300 +++ b/cygwin.rst Wed May 31 16:58:21 2017 +0300 @@ -34,7 +34,15 @@ set TMP=c:\tmp set TEMP=c:\tmp -Also you need edit /etc/passwd to point to correct home path. +Also you need edit ``/etc/passwd`` to point to correct home path. + +Starting from Cygwin ``/etc/nsswitch.conf`` settings used to define user home. +By default it is ``/home/%U`` so it is better to create symlink:: + + $ ln -s /cygdrive/d/home /home/user + +https://stackoverflow.com/questions/1494658/how-can-i-change-my-cygwin-home-folder-after-installation + How can I change my Cygwin home folder after installation? Documentation =============