delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
DomainKey-Signature: | a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:mime-version:date:message-id:subject:from:to | |
:content-type; q=dns; s=default; b=cD9o8nL+hOJCUF/iYLyRp/8O45Etl | |
2Lu6xxTWIOmdiXrSuAv1svUfLLeXgtt1lF0Ht1znrv8BKYLV/wZviwENmbJh90Tx | |
JKNPLLCGJ6VVn+tx5lNSttMEDAyfwuZktcrd9YZjmYKxyvJ8GKltACGG78q1Z6rV | |
EMtw5m4nWZEW4A= | |
DKIM-Signature: | v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:mime-version:date:message-id:subject:from:to | |
:content-type; s=default; bh=2Yfq176hohq5Ex0Qm/rUx9b+h38=; b=nFc | |
XpbJL/KxBESmg78umFWXRczXdfhPtKzjuhxhG0sA5Ip6YCglq/CYJ6ZhHdHUe/kn | |
TVknYXOBYB45Eq8BQfpt/e6hXI5CgVM9KCwkSVfeenJNO5Mt+xk0Ik4eHAnMSg0O | |
gj+FtFpzMAMkjx0iMto0pdYi0kEgBZ096YU0lTg4= | |
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 |
Authentication-Results: | sourceware.org; auth=none |
X-Virus-Found: | No |
X-Spam-SWARE-Status: | No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 |
X-HELO: | mail-oa0-f52.google.com |
MIME-Version: | 1.0 |
X-Received: | by 10.182.230.135 with SMTP id sy7mr4674743obc.24.1382102676863; Fri, 18 Oct 2013 06:24:36 -0700 (PDT) |
Date: | Fri, 18 Oct 2013 14:24:36 +0100 |
Message-ID: | <CAF9Kgh9Z+aWt-033wuT1J7589i=5pjWoBMHJDjqNf1jzZpRw-A@mail.gmail.com> |
Subject: | Re: Install puts home in /c/Users |
From: | Lee Savidge <lee DOT savidge AT gmail DOT com> |
To: | cygwin AT cygwin DOT com |
>On Fri, Oct 18, 2013 at 12:35 PM, Lee Savidge wrote: >> I've been using cygwin for many years simply because of the number of >> tools it gives me that Windows simply doesn't have or doesn't do very > well. A while ago my install of cygwin suddely changed my home >> directory from >> >> /cygdrive/c/cygwin/home/myuseraccount >> >> to >> >> /cygdrive/c/users/mywindowsuser >> >>(snip) >> >> Firstly, why? Why make my cygwin home directory use the same folder >> that Windows uses which is full of a load of stuff that Windows needs >> to keep? >Presumably because that's the place for _your_ stuff, and you are sure >to have write rights. No, this is the place that Windows creates under Windows 7 for User account folders. I didn't create this folder structure. It was created when I installed Windows on the machine. Yes I have rights. I'm not on a domain and I'm the administrator of this computer. >> Secondly, how can I put it back as it used to be so that when I opened >> bash it defaulted to my home directory which was mapped to >> >> /cygdrive/c/cygwin64/home/myuseraccount >I had this happen to me at work ($HOME pointed to a network drive >instead of C:\cygwin\home\...) and IIRC the solution was to unset the >%HOMEDRVE% and %HOMEDIR% environment variables before installing. Now this is interesting. In my environment variables in Windows, HOME points to %USERPROFILE% which equates to C:\Users\mywindowsaccount There are no %HOMEDRVE% or %HOMEDIR% variables. I am assuming that Windows has decided to make use of the HOME variable which points to my Windows user account folder home. Does Cygwin also use this? Can I make Cygwin use its own so I can repoint it to its original folder? Thanks, Lee -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |