delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/10/19/13:16:35

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=GgQn/tRnTzV6EDoRd58xP6xfJKzXu
CQEGTRsEHw7wekpWkX8gguOn/Wxkm7TH88N/apqkexhgMWhxO3113SATcg9Mvfp9
Fd40Tr5y0GRWoggjbJxx8v8cyeqytKXQw3bQW1OtPwgOmy1Q5iEJBhkwV5vBs3Uf
M4+/eG5iiUw7+k=
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=f703KUIdzYsxzOK7iVuhnUNCUZI=; b=KbO
O0q/4zhwZSJ/EdXoShw+OjkOZ8Wh7w9mVA7WVp/+iOF799y03dWUtWH4acgg4kCn
qoiuU2ccDIlmieH9wsC2nmRiQWqrGBAqDULvsyuiwiw6dlUekTPbnElDAcBVPUir
Xr8tTw7hvYUzVgLE6NAUEeMe0e34Y4lP1BX8Pdcg=
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=1.9 required=5.0 tests=AWL,BAYES_00,FOREIGN_SUBJECT,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2
X-HELO: mail-ob0-f178.google.com
MIME-Version: 1.0
X-Received: by 10.182.61.44 with SMTP id m12mr646982obr.52.1382202977765; Sat, 19 Oct 2013 10:16:17 -0700 (PDT)
Date: Sat, 19 Oct 2013 18:16:17 +0100
Message-ID: <CAF9Kgh_0wTUiXBpOkuCEXxRXKH88GifqAtt9TKo70yTMZ3=-BQ@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, anrdaemon AT yandex DOT ru

>Greetings, Lee Savidge!
>
>> 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?
>
>What about opposite question? Why spread the stuff, that is presumable
>privately yours, across untold amount of directories?
>Why not keep it in your private profile directory, that is intended to hold
>your private profile stuff?

The reason is simple. I want cygwin home to be a different folder to
the standard Windows "home directory". They're separate things and I
want to keep thing separate.


>
>> 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 know I could put in the bashrc file a cd which changes directory to
>> the home directory under cygwin but that means my real home directory
>> is still under /users which isn't what I want.
>
>> Once I've sorted that I will be a happy bunny. I've looked through the
>> mailing lists and I can't find anything that helps but then I might
>> not be searching for the right terminology.
>
>> After that my next job is to get rid of the /cygdrive mount points. It
>> just makes typing Windows paths unnecessarily long winded.
>
>This is as easy as uncommenting and editing a single line in /etc/fstab
>Strange that you are still struggling with such a simple issue.

Clearly I'm stupid then. However, I think given this wasn't just a
case of uncommenting a line in fstab as it wasn't commented out, maybe
I was justifiable in my question and not being stupid. The problem was
a two-fold problem.

1. Windows had changed the HOME environment variable so that it was
pointing to %USERPROFILE%

2. The shortcut was one I'd created a long time ago and obviously it
didn't like it any more. Allowing the installer to create a new
shortcut and my replacing the one I have with it allowed cygwin to
start up and create the environment properly.

Now cygwin loads up just fine and it goes into the proper directory as
I would expect, and indeed, how it used to thanks to Corinna's help.

It is odd that you find it strange that someone may not understand
everything that is so crystal clear to you. Any question is easy if
you know the answer. There is no such thing as a hard question.

Don't be so quick to denigrate someone because they don't know what
you know. I hope your tone wasn't meant to come across that way, but
it did.


-- 
=-----------------=
    Lee Savidge
=-----------------=

--

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