public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* HOME directory has somehow been overridden
@ 2012-08-02 17:30 Soumya Roy
  2012-08-02 17:33 ` Earnie Boyd
  2012-08-02 18:08 ` Soumya Roy
  0 siblings, 2 replies; 7+ messages in thread
From: Soumya Roy @ 2012-08-02 17:30 UTC (permalink / raw)
  To: cygwin

Hi everybody,
first of all I'm not a 'knows the ins and outs' user of
cygwin(although I absolutely love using it and would like to become
one!!).
My problems began(I think) when I installed heroku toolbelt for
facebook app creation...I went through some initial hiccups(with ssh
etc) and had to solve them (while working with cmd.exe).
Well my life went fine until later on I fired up cygwin and realized
that my intial directory has now been changed from
"c:/cygwin/home/username" to "c:/Documents and Settings/username"...
I "tried" to fix the problem by googling around(mkpasswd and all that)
and I think I've made the problem no better(if not worse)....
I really need some help guys.
Thanks.

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: HOME directory has somehow been overridden
  2012-08-02 17:30 HOME directory has somehow been overridden Soumya Roy
@ 2012-08-02 17:33 ` Earnie Boyd
  2012-08-02 18:08 ` Soumya Roy
  1 sibling, 0 replies; 7+ messages in thread
From: Earnie Boyd @ 2012-08-02 17:33 UTC (permalink / raw)
  To: cygwin

On Thu, Aug 2, 2012 at 1:28 PM, Soumya Roy wrote:
> Well my life went fine until later on I fired up cygwin and realized
> that my intial directory has now been changed from
> "c:/cygwin/home/username" to "c:/Documents and Settings/username"...

Look for a HOME environment variable set in the Windows environment.

-- 
Earnie
-- https://sites.google.com/site/earnieboyd

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: HOME directory has somehow been overridden
  2012-08-02 17:30 HOME directory has somehow been overridden Soumya Roy
  2012-08-02 17:33 ` Earnie Boyd
@ 2012-08-02 18:08 ` Soumya Roy
  2012-08-02 21:52   ` Andrey Repin
  1 sibling, 1 reply; 7+ messages in thread
From: Soumya Roy @ 2012-08-02 18:08 UTC (permalink / raw)
  To: cygwin

Just to give the last few lines of my /etc/passwd file:-

/home/SUPPORT_388945a0:/bin/bash
VALNT:unused:1003:513:U-SMEI-EC058E66\VALNT,S-1-5-21-1614895754-178822364\
8-725345543-1003:/home/VALNT:/bin/bash

thanks

On 8/2/12, Soumya Roy <roy.valmont@gmail.com> wrote:
> Hi everybody,
> first of all I'm not a 'knows the ins and outs' user of
> cygwin(although I absolutely love using it and would like to become
> one!!).
> My problems began(I think) when I installed heroku toolbelt for
> facebook app creation...I went through some initial hiccups(with ssh
> etc) and had to solve them (while working with cmd.exe).
> Well my life went fine until later on I fired up cygwin and realized
> that my intial directory has now been changed from
> "c:/cygwin/home/username" to "c:/Documents and Settings/username"...
> I "tried" to fix the problem by googling around(mkpasswd and all that)
> and I think I've made the problem no better(if not worse)....
> I really need some help guys.
> Thanks.
>

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: HOME directory has somehow been overridden
  2012-08-02 18:08 ` Soumya Roy
@ 2012-08-02 21:52   ` Andrey Repin
  2012-08-02 22:10     ` Andrew DeFaria
  2012-08-03 16:22     ` Soumya Roy
  0 siblings, 2 replies; 7+ messages in thread
From: Andrey Repin @ 2012-08-02 21:52 UTC (permalink / raw)
  To: Soumya Roy, cygwin

Greetings, Soumya Roy!

> Just to give the last few lines of my /etc/passwd file:-

> /home/SUPPORT_388945a0:/bin/bash
> VALNT:unused:1003:513:U-SMEI-EC058E66\VALNT,S-1-5-21-1614895754-178822364\
> 8-725345543-1003:/home/VALNT:/bin/bash

My only question: Why you're doing this?
Isn't your profile directory is a logical location for your $HOME?
Other than that, check all settings that may affect it.
Environment variable, as suggested, being one of them.


--
WBR,
Andrey Repin (anrdaemon@freemail.ru) 03.08.2012, <01:27>

Sorry for my terrible english...


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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: HOME directory has somehow been overridden
  2012-08-02 21:52   ` Andrey Repin
@ 2012-08-02 22:10     ` Andrew DeFaria
  2012-08-03 16:22     ` Soumya Roy
  1 sibling, 0 replies; 7+ messages in thread
From: Andrew DeFaria @ 2012-08-02 22:10 UTC (permalink / raw)
  To: cygwin

On 8/2/2012 2:28 PM, Andrey Repin wrote:
> Greetings, Soumya Roy!
>
>> Just to give the last few lines of my /etc/passwd file:-
>> /home/SUPPORT_388945a0:/bin/bash
>> VALNT:unused:1003:513:U-SMEI-EC058E66\VALNT,S-1-5-21-1614895754-178822364\
>> 8-725345543-1003:/home/VALNT:/bin/bash
> My only question: Why you're doing this?
> Isn't your profile directory is a logical location for your $HOME?
> Other than that, check all settings that may affect it.
> Environment variable, as suggested, being one of them.
My logical location for my $HOME is usually off on some filter, where 
it's the $HOME for Windows and the $HOME for Unix/Linux. I could care 
less about [C:\Documents and Settings|C:\Users]\$USERNAME.
-- 
Andrew DeFaria <http://defaria.com>
If all the world is a stage, where is the audience sitting?


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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: HOME directory has somehow been overridden
  2012-08-02 21:52   ` Andrey Repin
  2012-08-02 22:10     ` Andrew DeFaria
@ 2012-08-03 16:22     ` Soumya Roy
  2012-08-07  8:35       ` Andrey Repin
  1 sibling, 1 reply; 7+ messages in thread
From: Soumya Roy @ 2012-08-03 16:22 UTC (permalink / raw)
  To: Andrey Repin

Hi Andrey !

I get what you mean....
I definitely must have made a mistake while trying to fix the problem,
the analogy of what I was doing is like that of black box testing, I
try to fix in some way but I don't really "know" what is going on
inside and I just check the result...;-)
Howver as it turns out, previously when I was typing "$ ls ~"    I was
getting the contents of "Documents and Settings/Valnt"....but now
however "$ ls ~"   gives me the actual proper content of
"/cygwin/home/Valnt"....which is perfect...however the basic problem
still remains i.e the initial directory(after starting cygwin) that I
am in is "Documents and Settings/Valnt"...
so this is what I want to "fix"...
Any suggestion is much appreciated.

On 8/3/12, Andrey Repin <anrdaemon@freemail.ru> wrote:
> Greetings, Soumya Roy!
>
>> Just to give the last few lines of my /etc/passwd file:-
>
>> /home/SUPPORT_388945a0:/bin/bash
>> VALNT:unused:1003:513:U-SMEI-EC058E66\VALNT,S-1-5-21-1614895754-178822364\
>> 8-725345543-1003:/home/VALNT:/bin/bash
>
> My only question: Why you're doing this?
> Isn't your profile directory is a logical location for your $HOME?
> Other than that, check all settings that may affect it.
> Environment variable, as suggested, being one of them.
>
>
> --
> WBR,
> Andrey Repin (anrdaemon@freemail.ru) 03.08.2012, <01:27>
>
> Sorry for my terrible english...
>
>

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: HOME directory has somehow been overridden
  2012-08-03 16:22     ` Soumya Roy
@ 2012-08-07  8:35       ` Andrey Repin
  0 siblings, 0 replies; 7+ messages in thread
From: Andrey Repin @ 2012-08-07  8:35 UTC (permalink / raw)
  To: Soumya Roy, cygwin

Greetings, Soumya Roy!

Please, don't top-post.

> Howver as it turns out, previously when I was typing "$ ls ~"    I was
> getting the contents of "Documents and Settings/Valnt"....but now
> however "$ ls ~"   gives me the actual proper content of
> "/cygwin/home/Valnt"....which is perfect...however the basic problem
> still remains i.e the initial directory(after starting cygwin) that I
> am in is "Documents and Settings/Valnt"...
> so this is what I want to "fix"...
> Any suggestion is much appreciated.

You can define HOME in windows evironment. But that would also affect other
programs, that totally don't expect such action.
I mean, if you say $HOME, programs expect it to point you your user's profile.


--
WBR,
Andrey Repin (anrdaemon@freemail.ru) 07.08.2012, <12:15>

Sorry for my terrible english...


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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2012-08-07  8:20 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-08-02 17:30 HOME directory has somehow been overridden Soumya Roy
2012-08-02 17:33 ` Earnie Boyd
2012-08-02 18:08 ` Soumya Roy
2012-08-02 21:52   ` Andrey Repin
2012-08-02 22:10     ` Andrew DeFaria
2012-08-03 16:22     ` Soumya Roy
2012-08-07  8:35       ` Andrey Repin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).