delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/01/22/13:05:29

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-3.2 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD,SPF_HELO_PASS
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Andrew DeFaria <Andrew AT DeFaria DOT com>
Subject: Re: How do I change the default home directory after I fire up cygwin?
Date: Tue, 22 Jan 2013 10:02:43 -0800
Lines: 18
Message-ID: <kdmk80$tj9$2@ger.gmane.org>
References: <1358869942988-95558 DOT post AT n5 DOT nabble DOT com> <738549989 DOT 20130122203154 AT mtu-net DOT ru> <20130122171241 DOT GL40309 AT justpickone DOT org> <1358877022409-95573 DOT post AT n5 DOT nabble DOT com>
Mime-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:17.0) Gecko/20130107 Thunderbird/17.0.2
In-Reply-To: <1358877022409-95573.post@n5.nabble.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

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 delete the environment variable that sets HOME to a drive 
letter. Drive letters are so 1990's! And largely unneeded anymore.

See also my other post about how to mount what was mounted at H to 
/home/<userid>.

In general, IIRC Cygwin says that if HOME is already set in the Windows 
environment then we'll use that - otherwise we'll use what's in 
/etc/passwd (and I think last resort /home/<userid>).
-- 
Andrew DeFaria <http://defaria.com>
This space for rent


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