public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Adam Dinwoodie <adam@dinwoodie.org>
To: "cygwin@cygwin.com" <cygwin@cygwin.com>
Subject: Re: Home directory was not created
Date: Tue, 2 Mar 2021 17:27:04 +0000	[thread overview]
Message-ID: <CA+kUOak2JQkhC5BhKK3sC_2f=6vFY3TM0wT8+X0r5CHfaRYkxQ@mail.gmail.com> (raw)
In-Reply-To: <bcd11439517f40ab91cc2673a62f4d5d@BELBRU-EXMP104.eeas.europa.eu>

On Mon, 1 Mar 2021 at 15:33, KAVALAGIOS Panagiotis (EEAS-EXT) wrote:
> Dear all,
>
> Something went wrong to my Cygwin installation update (update is performed by removing everything and installing again the new version). The home directory of my user was not created, when you run Cygwin for the first time. When I start Cygwin it defaults to the evil C:\Windows\System32!?!?
>
> -bash-4.4$ pwd
> /cygdrive/c/WINDOWS/System32
> -bash-4.4$ cd
> -bash: cd: /home/kavalpa: No such file or directory
> -bash-4.4$
>
> How this can be fixed in proper way, without causing any permission issues.

These directories aren't normally created by the install scripts, but
by the /etc/profile script the first time you create a login shell.
You should see a message saying "Copying skeleton files. // These
files are for the users to personalise their cygwin experience." when
that happens.

Therefore the key question here: how are you starting Cygwin?

Adam

      parent reply	other threads:[~2021-03-02 17:27 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-01 15:33 KAVALAGIOS Panagiotis (EEAS-EXT)
2021-03-01 17:37 ` Brian Inglis
     [not found]   ` <24934718098a4d26a65b68ef62f3b46e@BELBRU-EXMP101.eeas.europa.eu>
2021-03-02 18:56     ` Brian Inglis
2021-03-03 11:22       ` KAVALAGIOS Panagiotis (EEAS-EXT)
2021-03-03 11:55         ` Andrey Repin
2021-03-03 12:59           ` KAVALAGIOS Panagiotis (EEAS-EXT)
2021-03-03 11:57         ` Thomas Wolff
2021-03-03 12:43           ` KAVALAGIOS Panagiotis (EEAS-EXT)
2021-03-03 12:58             ` Thomas Wolff
2021-03-03 13:07               ` KAVALAGIOS Panagiotis (EEAS-EXT)
2021-03-03 17:07                 ` Brian Inglis
2021-03-05 21:22             ` Kraja, Aldi
2021-03-05 21:52               ` remove my email aldi@wustl.edu from the cygwin@cygwin.com email list Kraja, Aldi
2021-03-06  1:38               ` Help on Unsubscribing Brian Inglis
2021-03-05 10:17         ` Home directory was not created KAVALAGIOS Panagiotis (EEAS-EXT)
2021-03-05 18:50         ` Brian Inglis
2021-03-02 17:27 ` Adam Dinwoodie [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CA+kUOak2JQkhC5BhKK3sC_2f=6vFY3TM0wT8+X0r5CHfaRYkxQ@mail.gmail.com' \
    --to=adam@dinwoodie.org \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).