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.
- cd ~
- chown kevin:kevin *
- chown kevin:kevin .*
- chmod go-rwx .ssh/*