This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Cygwin installing into wrong directory


Chuck wrote:
Can someone please help me with this? I've searched the docs but its
like finding a needle in a haystack. I got a new PC recently and need to
reinstall cygwin (unless you can tell me an safe way of copying
everything I had before to the new one).

I made a list of all packages I had previously and installed them all on
the new PC. Then I noticed that it created my user home directory in
"c:\documents and settings\userid". I wanted it in "c:\cygwin\home"
where it was before. What happened and how can I move it. I do NOT want
it cluttering up "documents and settings".

Read the man page for 'mkpasswd' and apply the appropriate switch when you recreate the '/etc/passwd' file (-h if I'm not mistaken, though I may be remembering wrong). Alternatively, if you know what you're doing, just edit the '/etc/passwd' file and change your home directory to whatever you like. If you must, you can also set HOME in your Windows environment to the directory you want. When Cygwin starts, it will use this value to override all others set.

--
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]