www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/01/22/10:52:43

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=3.7 required=5.0 tests=BAYES_50,DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,SPF_NEUTRAL,TW_MK,URI_HEX
X-Spam-Check-By: sourceware.org
Date: Tue, 22 Jan 2013 07:52:22 -0800 (PST)
From: Yves <yoursurrogategod AT gmail DOT com>
To: cygwin AT cygwin DOT com
Message-ID: <1358869942988-95558.post@n5.nabble.com>
Subject: How do I change the default home directory after I fire up cygwin?
MIME-Version: 1.0
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

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 "$(cygpath -H)" > /etc/passwd

At that point, I close my cygwin window and open it again... and same thing
when I run pwd.  How do I make cygwin think and start in /home/<my name>?
I've even mucked with the /etc/passwd for my user account and STILL no
result.
Very confused...

P.S.: If this message shows up twice, I didn't mean to, was having a
difficult time trying to post to the mailing list.



--
View this message in context: http://cygwin.1069669.n5.nabble.com/How-do-I-change-the-default-home-directory-after-I-fire-up-cygwin-tp95558.html
Sent from the Cygwin list mailing list archive at Nabble.com.

--
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

- Raw text -


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