This is the mail archive of the
mailing list for the Cygwin project.
RE: Migrating to windows 7
- From: "Buchbinder, Barry (NIH/NIAID) [E]" <BBuchbinder at niaid dot nih dot gov>
- To: 'Tod' <listacctc at gmail dot com>, "cygwin at cygwin dot com" <cygwin at cygwin dot com>
- Date: Tue, 22 Mar 2011 10:09:34 -0400
- Subject: RE: Migrating to windows 7
- References: <4D889D81.firstname.lastname@example.org>
Tod sent the following at Tuesday, March 22, 2011 9:01 AM
>I've migrated to Win7 and basically just copied over my existing cygwin
>install over to the new drive. Things are working but my user account
>has changed so I'm getting an error saying my homedir is owned by
>someone else. I can still do work but I'd like to get this corrected.
>Can someone point me in the right direction?
I don't know but here are some guesses based on advice given by others
in the past. (This is from memory - I have not searched the archives.)
My main guess is that when you copied C:\cygwin, the old file/directory
ownerships were copied. It would be useful to know if
$ ls -ld ~
$ ls -l ~
lists your old user account or some intermediate (copying) user account
If so, might something like the following work?
$ chown --recursive YOUR_NEW_USER_ACCOUNT ~
$ chown --recursive YOUR_NEW_USER_ACCOUNT /cygdrive/c/cygwin
Note: I've no chown experience; use at your own risk.
Running mkpasswd and mkgroup again might help.
Although this would affect the ownership problem, you might check
environmental variables inherited from Windows, especially CYGWIN,
are as they were on your old machine.
Disclaimer: Statements made herein are not made on behalf of NIAID.
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple