Where's my home? (lost in my domain)

Larry Hall (Cygwin) reply-to-list-only-lh@cygwin.com
Wed Aug 4 15:58:00 GMT 2010

On 8/4/2010 4:22 AM, Linda Walsh wrote:
> When I log in, I seem to be placed in
> /Users/law.Bliss>
> IF I type "cd" and hit return, then I'm in
> //Bliss/law
> My home vars:
> //Bliss/law>  printenv|grep HOME
> HOME=//Bliss/law
> My /etc/password, for user "Bliss\law" (why "\" and not "/"?)

Ask Microsoft.  It's their convention.

> has //Bliss/law as a home dir as setup sometime in the past
> when mkpasswd was working (ahh...those were the days... :-))...

'mkpasswd' works.  If you have an issue that you believe isn't just
local to your machine/environment/setup, please report it.

> I'm not sure why it wouldn't have specified my HOME as i:/ . (?)

First, Cygwin doesn't use drive syntax.  Second, the order of preference
for setting the home directory in Cygwin is, as spelled out in /etc/profile:

# Here is how HOME is set, in order of priority, when starting from Windows
#  1) From existing HOME in the Windows environment, translated to a Posix path
#  2) from /etc/passwd, if there is an entry with a non empty directory field
#  4) / (root)

> But I don't see where it got /users/law.Bliss -- though it is
> the temporary cache.  If windows/the login process was smart, then
> I could see /users/law.Bliss being my HOME if the network server
> wasn't available.  But it is, and I don't think windows is that
> dynamic.
> So how does what decide if my HOME gets set to //bliss/law, i:/
> or [C:]/Users

I'd recommend getting a good feel for what Windows is setting your
home directory to and, given the above information (and mining other
tidbits from the email archives as required), use all of this to
figure out why you're not seeing what you want to see and how you
should change things to reach your goal.  Assuming Windows isn't
tripping you up somehow, the procedure I quoted above that Cygwin
uses to determine what it will use as your home directory is very

Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746


A: Yes.
> Q: Are you sure?
>> A: Because it reverses the logical flow of conversation.
>>> Q: Why is top posting annoying in email?

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

More information about the Cygwin mailing list