Suppose you have Cygwin installed on one drive, and you need to move it to another.  Just for grins, let's assume that you are going to move it using Windows Explorer (i.e. not using Cygwin to move Cygwin).  This is something that I have to do from time to time, because I work as a consultant, and I move from PC to PC pretty often.  When you do this, pieces of Cygwin break.  Here's where I keep track of the things I have to do after moving Cygwin.

  1. cd ~
  2. chown kevin:kevin *
  3. chown kevin:kevin .*
  4. chmod go-rwx .ssh/*