Re: How do I change the default home directory after I fire up cygwin?

2013-01-22 Thread marco atzeri
On 1/22/2013 4:52 PM, Yves wrote: Hi, this is my issue: I start up cygwin and do pwd, and this is my home directory. $ pwd /cygdrive/h But, I don't want it to be in /cygdrive/h. So, what gives? I've run the mkpasswd command like so (while in my /home/my name directory): mkpasswd -l -p

Re: How do I change the default home directory after I fire up cygwin?

2013-01-22 Thread Yves
Hi, thanks for your reply. I did cat /etc/passwd. I obfuscated certain portions of the output, all of which are characters (no numbers, no spaces, no special characters, all lower case): user name@FOOBAR /home/user name/Downloads $ cat /etc/passwd SYSTEM:*:18:544:,S-1-5-18::

Re: How do I change the default home directory after I fire up cygwin?

2013-01-22 Thread Andrey Repin
Greetings, Yves! I start up cygwin and do pwd, and this is my home directory. $ pwd /cygdrive/h But, I don't want it to be in /cygdrive/h. So, what gives? I've run the mkpasswd command like so (while in my /home/my name directory): mkpasswd -l -p $(cygpath -H) /etc/passwd At that

Re: How do I change the default home directory after I fire up cygwin?

2013-01-22 Thread Yves
I did echo $HOME and this is the output that I got: /cygdrive/h -- View this message in context: http://cygwin.1069669.n5.nabble.com/How-do-I-change-the-default-home-directory-after-I-fire-up-cygwin-tp95558p95563.html Sent from the Cygwin list mailing list archive at Nabble.com. -- Problem

Re: How do I change the default home directory after I fire up cygwin?

2013-01-22 Thread Yves
Ok, so if I do HOME=/home/user name I go to the home directory that I want to go to. Yes! But when I close my cygwin window and then re-open it, I'm back in /cygdrive/h... hmm... -- View this message in context:

Re: How do I change the default home directory after I fire up cygwin?

2013-01-22 Thread David T-G
Andrey Yves, et atl -- ...and then Andrey Repin said... % % I start up cygwin and do pwd, and this is my home directory. % $ pwd % /cygdrive/h % ... % % Check the contents of your $HOME variable. But isn't $HOME set based on what the shell gets? So whatever is setting it wrong is going

Re: How do I change the default home directory after I fire up cygwin?

2013-01-22 Thread Yves
This machine is on a corporate network, I'm doing this setup at work :) . And yes, there's a domain. And, after looking at System variables, I found HOME which is pointed to H:\. Would it make sense to just set that to C:\cygwin\home\user name? -- View this message in context:

Re: How do I change the default home directory after I fire up cygwin?

2013-01-22 Thread Yves
Ok, so I changed HOME in Environment variables to C:\cygwin\home\user name and when I do pwd, this is what happens: /cygdrive/c/cygwin/home/user name Ok... it's not /home/user name, but it's progress :) . -- View this message in context:

Re: How do I change the default home directory after I fire up cygwin?

2013-01-22 Thread Andrew DeFaria
On 1/22/2013 8:31 AM, Andrey Repin wrote: Greetings, Yves! I start up cygwin and do pwd, and this is my home directory. $ pwd /cygdrive/h But, I don't want it to be in /cygdrive/h. So, what gives? I've run the mkpasswd command like so (while in my /home/my name directory): mkpasswd -l -p

Re: How do I change the default home directory after I fire up cygwin?

2013-01-22 Thread Andrew DeFaria
On 1/22/2013 9:50 AM, Yves wrote: This machine is on a corporate network, I'm doing this setup at work :) . And yes, there's a domain. And, after looking at System variables, I found HOME which is pointed to H:\. Would it make sense to just set that to C:\cygwin\home\user name? Personally I'd

RE: How do I change the default home directory after I fire up cygwin?

2013-01-22 Thread Adam Dinwoodie
Yves wrote: Ok, so I changed HOME in Environment variables to C:\cygwin\home\user name and when I do pwd, this is what happens: /cygdrive/c/cygwin/home/user name Ok... it's not /home/user name, but it's progress :) . Delete the HOME environment variable entirely. That way Cygwin will use

RE: How do I change the default home directory after I fire up cygwin?

2013-01-22 Thread Yves
Yes! It works just like I expect it to work! Thanks guys! -- View this message in context: http://cygwin.1069669.n5.nabble.com/How-do-I-change-the-default-home-directory-after-I-fire-up-cygwin-tp95558p95579.html Sent from the Cygwin list mailing list archive at Nabble.com. -- Problem