X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BB007385840F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1677847989; bh=9HHeP0/IQTK8Bn90QHvLJew5T+wc4AsNI0gpUTjVJsU=; h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=kk8X+7bhxcIhDCqvAUEaanaBNl4/JwCUp0DMY0hhENCBVKAoYhocLB4cRKVr+JUsr 3YJS1MUKx3d0ChrOvko3VL6Dhi1p1LIBHprtsEDYYngKYi4uIWk8XPVBz7cYAfJtLR k0Bor/V/f5MO2u496Jd7V4xCC4SA1ilk7k7WAsXg= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 6CFA03858D33 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677847971; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=yENm38GJIBWLLI7GX5qHvaBTOiZGLHxmcbXD8BV6N7g=; b=Br+BHZIncF29N1DEvESoojfXuulYW/0KfeNWfu4Vs6nPp0WO54D9PDIHFDBpGN3sDo Kb7RBvQVFd18h4dQ23ZKjLfhGCig+SbSj4ZM/DuzFRESz64N51TWh7RyFWy+Gzi2mofD s26DeTqEC4AlZKDZNZ6BFJnlTqOL8rTILLxtcm2ejShl0TAAQ5Iu/qyjHdXe2ApmQkrY LNQufY2oes00FlD78kR0sLvEJUhmeGMUqdS0CFWe5d1XxzTXRLw2FoA3q7v8DQ9SpzHz BBFlagPBQ14d5kW8HcGMOX8bdbNwJ6FXH5f94oMvkH2c+wuJ+SW/ZZYTuUcaB5ArfYte 5LEA== X-Gm-Message-State: AO0yUKVKX6s9zKEahClfwgiFQMmYvl+TWqtz+xDUaSz4D87san6D9+68 t/njo8DUYnXm6CARThk35+8iieAfTwqggpUXDQA= X-Google-Smtp-Source: AK7set999OWdtwvIX8EwFETfOU7q/QAW2Tq9YLLbQEBvTL0TqJ9UdekiALvYeKXGpS2WGzy3XMFBag== X-Received: by 2002:ac2:48a7:0:b0:4da:ae47:6615 with SMTP id u7-20020ac248a7000000b004daae476615mr469649lfg.49.1677847971390; Fri, 03 Mar 2023 04:52:51 -0800 (PST) Message-ID: <9abd4f0c-3c51-1626-59d7-f6b65891c99d@gmail.com> Date: Fri, 3 Mar 2023 15:52:50 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 Subject: Re: Nano fails to open file "~/.bashrc". Content-Language: ru To: cygwin AT cygwin DOT com References: <0de2dd08-f532-0c21-3685-5fc7e86ef8ee AT gmail DOT com> <165153627 DOT 20230303154721 AT yandex DOT ru> In-Reply-To: <165153627.20230303154721@yandex.ru> X-Spam-Status: No, score=-1.0 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham 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 List-Archive: List-Post: List-Help: List-Subscribe: , From: Kirill Frolov via Cygwin Reply-To: Kirill Frolov Content-Type: text/plain; charset="utf-8"; Format="flowed" Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 323CrWUr021638 I run it with F:\cygwin64\bin\mintty.exe -i /Cygwin-Terminal.ico - $ getent passwd "$USER"; mount; cat /etc/nsswitch.conf frolo:*:197609:197121:U-DESKTOP-P57624Q\frolo,S-1-5-21-3636099827-1216969241-2011884586-1001:/home/frolo:/bin/bash F:/cygwin64/bin on /usr/bin type ntfs (binary,auto) F:/cygwin64/lib on /usr/lib type ntfs (binary,auto) F:/cygwin64 on / type ntfs (binary,auto) C: on /cygdrive/c type ntfs (binary,posix=0,user,noumount,auto) D: on /cygdrive/d type ntfs (binary,posix=0,user,noumount,auto) E: on /cygdrive/e type ntfs (binary,posix=0,user,noumount,auto) F: on /cygdrive/f type ntfs (binary,posix=0,user,noumount,auto) # /etc/nsswitch.conf # #    This file is read once by the first process in a Cygwin process tree. #    To pick up changes, restart all Cygwin processes.  For a description #    see https://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-mapping-nsswitch # # Defaults: # passwd:   files db # group:    files db # db_enum:  cache builtin # db_home:  /home/%U # db_shell: /bin/bash # db_gecos: On 03.03.2023 15:47, Andrey Repin wrote: > 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 > > -- 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