www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/08/29/18:46:28

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
X-IronPort-AV: E=Sophos;i="4.32,295,1217829600"; d="scan'208";a="10868693"
MIME-Version: 1.0
Subject: RE: 1.5.25: Can't Change User's Home Dir [SOLVED]
Date: Fri, 29 Aug 2008 16:45:37 -0600
Message-ID: <C71A0F1078AC2A44907772C6FD1D437C01676590@HEXMBVS01.hostedmsx.local>
In-Reply-To: <48B877B5.6040400@cygwin.com>
References: <C71A0F1078AC2A44907772C6FD1D437C0167648F AT HEXMBVS01 DOT hostedmsx DOT local> <48B86439 DOT 4080606 AT cygwin DOT com> <C71A0F1078AC2A44907772C6FD1D437C01676531 AT HEXMBVS01 DOT hostedmsx DOT local> <48B877B5 DOT 6040400 AT cygwin DOT com>
From: "Richard Plana" <Richard DOT Plana AT enabil DOT com>
To: <cygwin AT cygwin DOT com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id m7TMkROu012532


> > That's exactly what I read in the FAQ, but my system doesn't seem to
be
> > following that behavior.
> >
> > 1) Running "set HOME" in CMD.EXE gives the ff.:
> >
> > HOMEDRIVE=H:
> > HOMEPATH=\
> > HOMESHARE=\\essrv07\rplana$
> >
> > 2) /etc/passwd contains a Home entry that's prefixed with
> > "/cygdrive/c/Documents and Settings/"
> >
> > Neither seem to be the behavior that I'm getting. Everytime I log
on, I
> > end up with a home dir of "/home/$LOGNAME" and I don't know anymore
> > where that is coming from nor how to change it.
> >
> 
> Ah, your home is a network drive.  You're not accessing it with 'ssh'
> are you?  You might want to check the permissions this directory has
> (getfacl) and whether you can access the directory from the shell
you've
> opened.
> 
> You may not want to use a remote home directory anyway.  It's going to
be
> slower.

Well, I actually want to use a local partition for my home drive, but
instead of <CYGWIN>/home/<user>, I want to use /cygdrive/c/Documents\
and\ Settings/<user>. The network "home" drive is something that Windows
sets but I'm totally ignoring. I'm only including that as the FAQ
discusses it.

So in summary, 

1) I want my user's home dir to be /cygdrive/c/Documents\ and\
Settings/<user>. 

2) /etc/passwd has the correct entry for it.

3) I can "cd" into that directory

4) I am using ...

My spologies. I was going to write that I use cygwin's terminal emulator
to start the shell, but that wasn't exactly right (as opposed to SSH'ing
to it). In actuality, I was using Poderosa to start my cygwin session
and apparently you can overwrite the choice of home directory when
connecting to a cygwin session. In Poderosa, it was configured to
connect to "/home/myuser". I changed that config to
"/cygdrive/c/Documents and Settings/myuser" and now I'm happily logged
in properly.

Thanks for the help!
--

Richi Plana

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


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019