X-Recipient: archive-cygwin AT delorie DOT com X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org E86A73854833 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=dinwoodie.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=adam AT dinwoodie DOT org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dinwoodie.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :content-transfer-encoding; bh=2EZqHK0CqQVnyIaz/vMDVy0xePXglusGa1BSdOddUd4=; b=FpJ/cG7GUUtFukM9vMALTzVpmwupLI+UUGTzDYhfa8zCgOfTOlX5ymp3fpmylA7aBW cWrTD2B5jh7Wffax4907dURQlUhqnOGdNw+BFLtGxeiob1fHPjF+nCIPsnU8e6FBVoSh ztwwrea9Eo9H5TeAofmFSIJ9XPH0iFPxf1kac= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:content-transfer-encoding; bh=2EZqHK0CqQVnyIaz/vMDVy0xePXglusGa1BSdOddUd4=; b=NqhZpH5lfqA8IqA601zngcWvrLiXYqciSxbpG78GKIV5H0xPGSeKQsnrQPgEl3Afew 1KgPpiA/yhRY3CB04wvQIm4A2Wf29W2ecYImqOWzP0qdnWevB0e4nLDIBumODTFrXjpj +fnHLu06hlOqg2djU39CDcH6ojbAV2zc6Ec16UzfrlKvm9tgHubJJgjeied15rM1euH3 b2ZObEoRWFDvv/WN0jS3EcQ8j6FjxBK9vAwAJOQRPltG4o84fZTlLfdCaS3bUCZBYN62 F+TeUj7my4AHeg9T+/o0T5MDvEfn+gBzytgra2nnqEhltkX7JPhKE8/bPu9vjatBmzUL n92Q== X-Gm-Message-State: AOAM530lxPsXk4ioMSvgQLuoCTdJnoCYEGRlnVl7BBwnTsILZP1diEt8 z2f3uNkGpwJp76umREu0X6q48CltIG979AVausNd6DdcL19f/A== X-Google-Smtp-Source: ABdhPJyT4SOLa008y1e1qbizkljEq5PF2gnTFlby6o3koCocsuRE1ZlRcHvklb7SifytQJe5A2ac5P10GO1Xfzm2VGE= X-Received: by 2002:aed:2068:: with SMTP id 95mr8358514qta.181.1614706057239; Tue, 02 Mar 2021 09:27:37 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Adam Dinwoodie Date: Tue, 2 Mar 2021 17:27:04 +0000 Message-ID: Subject: Re: Home directory was not created To: "cygwin AT cygwin DOT com" X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.29 List-Id: General Cygwin discussions and problem reports List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Cygwin" 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 -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple