delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2023/03/03/07:51:25

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 765EC3858025
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1677847844;
bh=QN/bbDPGlf0YcsWvj9HSHSlN5EURC3b/b4QA843+RtY=;
h=Date:To:Subject:In-Reply-To:References:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:
From;
b=rlwnJPOG38Q68nFUITKzXb5fDtAfk0c0knyzcMYGyX4q9IG831P6qc1fFUAzDkwg/
b/qi6m91qwBaTG1P6dChVmOrVaMp4A4u5eR7nW0UAbwhDIFf2TB201mYTdJIiOmuUY
V+45SdmgMegTd302U5sM3B50IMKIXjzQl5BiDWVU=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 443913858024
X-Yandex-Fwd: 1
Date: Fri, 3 Mar 2023 15:47:21 +0300
X-Mailer: The Bat! (v9.3.4) Professional
Message-ID: <165153627.20230303154721@yandex.ru>
To: Kirill Frolov <frolovkirill7 AT gmail DOT com>, cygwin AT cygwin DOT com
Subject: Re: Nano fails to open file "~/.bashrc".
In-Reply-To: <0de2dd08-f532-0c21-3685-5fc7e86ef8ee@gmail.com>
References: <0de2dd08-f532-0c21-3685-5fc7e86ef8ee AT gmail DOT com>
MIME-Version: 1.0
X-Spam-Status: No, score=-0.6 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, KAM_THEBAT,
NICE_REPLY_A, SPF_HELO_NONE, SPF_PASS,
TXREP autolearn=no autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) 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 <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Andrey Repin via Cygwin <cygwin AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
Cc: Andrey Repin <anrdaemon AT yandex DOT ru>
Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 323Cp6si021238

Greetings, Kirill Frolov!

> When i run nano ~/.bashrc nano opens with   [ Directory '/home/frolo' does not exist ] error.

Do you run it from bash prompt or from CMD prompt?

> The file opens with cat ~/.bashrc

Can you please show us the output of

getent passwd "$USER"; mount; cat /etc/nsswitch.conf


-- 
With best regards,
Andrey Repin
Friday, March 3, 2023 15:45:34

Sorry for my terrible english...

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019