public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Nano fails to open file "~/.bashrc".
@ 2023-03-03 12:43 Kirill Frolov
  2023-03-03 12:47 ` Andrey Repin
  0 siblings, 1 reply; 9+ messages in thread
From: Kirill Frolov @ 2023-03-03 12:43 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 132 bytes --]

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

The file opens with cat ~/.bashrc


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: cygcheck.out --]
[-- Type: text/plain; charset=windows-1252; name="cygcheck.out", Size: 38581 bytes --]


Cygwin Configuration Diagnostics
Current System Time: Fri Mar 03 12:33:37 2023

Windows 11 Professional Ver 10.0 Build 22621 

Path:	F:\cygwin64\usr\local\bin
	F:\cygwin64\bin
	C:\Program Files (x86)\Common Files\Oracle\Java\javapath
	C:\Program Files (x86)\VMware\VMware Workstation\bin
	C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.0\bin
	C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.0\libnvvp
	C:\Windows\system32
	C:\Windows
	C:\Windows\System32\Wbem
	C:\Windows\System32\WindowsPowerShell\v1.0
	C:\Windows\System32\OpenSSH
	C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR
	C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common
	C:\Program Files\NVIDIA Corporation\Nsight Compute 2022.4.0
	E:\Program Files\WinMerge
	E:\Program Files (x86)\FAHClient
	F:\Strawberry\c\bin
	F:\Strawberry\perl\site\bin
	F:\Strawberry\perl\bin
	C:\Users\frolo\loda\bin
	C:\Users\frolo\.loda-rust
	C:\ProgramData\chocolatey\bin
	E:\new folder\sysinternalssuite\Contig.exe
	E:\Program Files\FAHClient
	E:\new folder\sysinternalssuite
	E:\apacheant\bin
	C:\Program Files\Git\cmd
	C:\Program Files\Git\mingw64\bin
	C:\Program Files\Git\usr\bin
	C:\Program Files\dotnet
	E:\Windows Kits\10\Windows Performance Toolkit
	C:\Users\frolo\scoop\shims
	F:\Ruby31-x64\bin
	C:\Users\frolo\.cargo\bin
	C:\Users\frolo\AppData\Local\Microsoft\WindowsApps
	C:\tools\msys64
	C:\Users\frolo\.dotnet\tools
	C:\Users\frolo\.dotnet\tools

Output from F:\cygwin64\bin\id.exe
UID: 197609(frolo)
GID: 197609(frolo)
197609(frolo)
405504(Высокий обязательный уровень)
114(Локальная учетная запись и член группы "Администраторы")
544(Администраторы)
578(Администраторы Hyper-V)
583(Владельцы устройства)
545(Пользователи)
559(Пользователи журналов производительности)
4(ИНТЕРАКТИВНЫЕ)
66049(КОНСОЛЬНЫЙ ВХОД)
11(Прошедшие проверку)
15(Данная организация)
68597(MicrosoftAccount+frolov_kirill@mail.ru)
113(Локальная учетная запись)
4095(CurrentSession)
66048(ЛОКАЛЬНЫЕ)
262180(Проверка подлинности учетной записи в облаке)

SysDir: C:\Windows\system32
WinDir: C:\Windows

USER = 'frolo'
PWD = '/home/frolo/git'
HOME = '/home/frolo'

USERDOMAIN = 'DESKTOP-P57624Q'
ChocolateyToolsLocation = 'C:\tools'
OS = 'Windows_NT'
COMMONPROGRAMFILES = 'C:\Program Files\Common Files'
PROCESSOR_LEVEL = '23'
PSModulePath = '%ProgramFiles%\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules'
CommonProgramW6432 = 'C:\Program Files\Common Files'
CommonProgramFiles(x86) = 'C:\Program Files (x86)\Common Files'
TZ = 'Europe/Moscow'
VBOX_HWVIRTEX_IGNORE_SVM_IN_USE = '1'
HOSTNAME = 'DESKTOP-P57624Q'
PUBLIC = 'C:\Users\Public'
OLDPWD = '/home/frolo'
CUDA_PATH = 'C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.0'
UD_DISABLE_USAGE_TRACKING = '1'
C64FOREVERROOT = 'E:\Program Files (x86)\Cloanto\C64 Forever\'
USERNAME = 'frolo'
ChocolateyInstall = 'C:\ProgramData\chocolatey'
JAVA_HOME = 'C:\Program Files\Java\jdk1.8.0_361'
LOGONSERVER = '\\DESKTOP-P57624Q'
PROCESSOR_ARCHITECTURE = 'AMD64'
LOCALAPPDATA = 'C:\Users\frolo\AppData\Local'
COMPUTERNAME = 'DESKTOP-P57624Q'
FPS_BROWSER_APP_PROFILE_STRING = 'Internet Explorer'
!:: = '::\'
SYSTEMDRIVE = 'C:'
USERPROFILE = 'C:\Users\frolo'
PATHEXT = '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.RB;.RBW'
SYSTEMROOT = 'C:\Windows'
USERDOMAIN_ROAMINGPROFILE = 'DESKTOP-P57624Q'
PROCESSOR_IDENTIFIER = 'AMD64 Family 23 Model 113 Stepping 0, AuthenticAMD'
OneDriveConsumer = 'C:\Users\frolo\OneDrive'
TMP = '/tmp'
LC_CTYPE = 'ru_RU.UTF-8'
TERM_PROGRAM = 'mintty'
TERM_PROGRAM_VERSION = '3.6.3'
!F: = 'F:\'
RETROPLATFORMDATA = 'C:\ProgramData\Cloanto\RetroPlatform\'
OneDrive = 'C:\Users\frolo\OneDrive'
PROCESSOR_REVISION = '7100'
FPS_BROWSER_USER_PROFILE_STRING = 'Default'
PROFILEREAD = 'true'
NUMBER_OF_PROCESSORS = '8'
ProgramW6432 = 'C:\Program Files'
COMSPEC = 'C:\Windows\system32\cmd.exe'
APPDATA = 'C:\Users\frolo\AppData\Roaming'
SHELL = '/bin/bash'
TERM = 'xterm'
WINDIR = 'C:\Windows'
ProgramData = 'C:\ProgramData'
SHLVL = '1'
MINTTY_SHORTCUT = '/cygdrive/c/ProgramData/Microsoft/Windows/Start Menu/Programs/Cygwin/Cygwin64 Terminal.lnk'
PRINTER = 'PDF-XChange 5.0 for ABBYY FineReader 15'
PROGRAMFILES = 'C:\Program Files'
CUDA_PATH_V12_0 = 'C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.0'
ALLUSERSPROFILE = 'C:\ProgramData'
TEMP = '/tmp'
DriverData = 'C:\Windows\System32\Drivers\DriverData'
SESSIONNAME = 'Console'
ANT_HOME = 'E:\apacheant'
UD_INSTALL_DIR = 'C:\Program Files\UltraDefrag'
ProgramFiles(x86) = 'C:\Program Files (x86)'
PS1 = '\[\e]0;\w\a\]\n\[\e[32m\]\u@\h \[\e[33m\]\w\[\e[0m\]\n\$ '
HOMEDRIVE = 'C:'
C64FOREVERDATA = 'E:\frolo\Documents\CBM Files\'
ChocolateyLastPathUpdate = '133216703422732521'
!E: = 'E:\'
INFOPATH = '/usr/local/info:/usr/share/info:/usr/info'
HOMEPATH = '\Users\frolo'
ORIGINAL_PATH = '/cygdrive/c/Program Files (x86)/Common Files/Oracle/Java/javapath:/cygdrive/c/Program Files (x86)/VMware/VMware Workstation/bin:/cygdrive/c/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v12.0/bin:/cygdrive/c/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v12.0/libnvvp:/cygdrive/c/Windows/system32:/cygdrive/c/Windows:/cygdrive/c/Windows/System32/Wbem:/cygdrive/c/Windows/System32/WindowsPowerShell/v1.0:/cygdrive/c/Windows/System32/OpenSSH:/cygdrive/c/Program Files/NVIDIA Corporation/NVIDIA NvDLISR:/cygdrive/c/Program Files (x86)/NVIDIA Corporation/PhysX/Common:/cygdrive/c/Program Files/NVIDIA Corporation/Nsight Compute 2022.4.0:/cygdrive/e/Program Files/WinMerge:/cygdrive/e/Program Files (x86)/FAHClient:/cygdrive/f/Strawberry/c/bin:/cygdrive/f/Strawberry/perl/site/bin:/cygdrive/f/Strawberry/perl/bin:/cygdrive/c/Users/frolo/loda/bin:/cygdrive/c/Users/frolo/.loda-rust:/cygdrive/c/ProgramData/chocolatey/bin:/cygdrive/e/new folder/sysinternalssuite/Contig.exe:/cygdrive/e/Program Files/FAHClient:/cygdrive/e/new folder/sysinternalssuite:/cygdrive/e/apacheant/bin:/cygdrive/c/Program Files/Git/cmd:/cygdrive/c/Program Files/Git/mingw64/bin:/cygdrive/c/Program Files/Git/usr/bin:/cygdrive/c/Program Files/dotnet:/cygdrive/e/Windows Kits/10/Windows Performance Toolkit:/cygdrive/c/Users/frolo/scoop/shims:/cygdrive/f/Ruby31-x64/bin:/cygdrive/c/Users/frolo/.cargo/bin:/cygdrive/c/Users/frolo/AppData/Local/Microsoft/WindowsApps:/cygdrive/c/tools/msys64:/cygdrive/c/Users/frolo/.dotnet/tools:/cygdrive/c/Users/frolo/.dotnet/tools'
EXECIGNORE = '*.dll'
VBOX_MSI_INSTALL_PATH = 'C:\Program Files\Oracle\VirtualBox\'
_ = '/usr/bin/cygcheck'

HKEY_CURRENT_USER\Software\Cygwin
HKEY_CURRENT_USER\Software\Cygwin\Installations
  (default) = '\??\E:\programdata\BOINC\slots'
  9b05bb3d8d61e089 = '\??\E:\programdata\BOINC\slots'
  e8249d5a58928e8f = '\??\E:\programdata\BOINC\slots'
  a7e0364259e9fd8a = '\??\E:\programdata\BOINC\slots'
  f4ff185f251aab90 = '\??\E:\programdata\BOINC\slots'
HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin\Installations
  (default) = '\??\F:\cygwin64'
HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin\setup
  (default) = 'f:\cygwin64'
HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Cygwin\Installations
  (default) = '\??\E:\programdata\BOINC\slots'
  a7e0364259e9fd8a = '\??\E:\programdata\BOINC\slots'
  db4a22558c0a718e = '\??\E:\programdata\BOINC\slots'
  f4ff185f251aab90 = '\??\E:\programdata\BOINC\slots'
  9b05bb3d8d61e089 = '\??\E:\programdata\BOINC\slots'
  c1952c4bf2fa378c = '\??\E:\programdata\BOINC\slots'
  13bf0c2cbb2ea1a6 = '\??\E:\programdata\BOINC\slots'
  0eb40e68be2ae592 = '\??\E:\programdata\BOINC\slots'
  01d99363f1a2c891 = '\??\E:\programdata\BOINC\slots'
  e8249d5a58928e8f = '\??\E:\programdata\BOINC\slots'
  2099873187b6bea7 = '\??\E:\programdata\BOINC\slots'
  ce6fa750bf82548d = '\??\E:\programdata\BOINC\slots'
  2d740236543edba8 = '\??\E:\programdata\BOINC\slots'
  3a4e7d3b20c6f8a9 = '\??\E:\programdata\BOINC\slots'

obcaseinsensitive set to 1

Cygwin installations found in the registry:
  System: Key: 26046373354fe4fc Path: F:\cygwin64
  User:   Key: b4bab14726721a8b Path: E:\programdata\BOINC\slots (ORPHANED)
  User:   Key: 9b05bb3d8d61e089 Path: E:\programdata\BOINC\slots (ORPHANED)
  User:   Key: e8249d5a58928e8f Path: E:\programdata\BOINC\slots (ORPHANED)
  User:   Key: a7e0364259e9fd8a Path: E:\programdata\BOINC\slots (ORPHANED)
  User:   Key: f4ff185f251aab90 Path: E:\programdata\BOINC\slots (ORPHANED)

c:  hd  NTFS    228103Mb  51% CP CS UN PA FC    QU  
d:  hd  NTFS    305242Mb  17% CP CS UN PA FC    QU  
e:  hd  NTFS    953851Mb  92% CP CS UN PA FC    QU  Ëîêàëüíûé äèñê
f:  hd  NTFS    476937Mb  88% CP CS UN PA FC    QU  

F:\cygwin64      /          system  binary,auto
F:\cygwin64\bin  /usr/bin   system  binary,auto
F:\cygwin64\lib  /usr/lib   system  binary,auto
cygdrive prefix  /cygdrive  user    binary,posix=0,auto

Found: F:\cygwin64\bin\awk
Found: C:\Program Files\Git\usr\bin\awk.exe
Warning: F:\cygwin64\bin\awk hides C:\Program Files\Git\usr\bin\awk.exe
 -> F:\cygwin64\bin\gawk.exe
Found: F:\cygwin64\bin\bash.exe
Found: C:\Windows\system32\bash.exe
Warning: F:\cygwin64\bin\bash.exe hides C:\Windows\system32\bash.exe
Found: C:\Program Files\Git\usr\bin\bash.exe
Warning: F:\cygwin64\bin\bash.exe hides C:\Program Files\Git\usr\bin\bash.exe
Found: C:\Users\frolo\AppData\Local\Microsoft\WindowsApps\bash.exe
Warning: F:\cygwin64\bin\bash.exe hides C:\Users\frolo\AppData\Local\Microsoft\WindowsApps\bash.exe
Found: F:\cygwin64\bin\cat.exe
Found: C:\Program Files\Git\usr\bin\cat.exe
Warning: F:\cygwin64\bin\cat.exe hides C:\Program Files\Git\usr\bin\cat.exe
Found: C:\Windows\system32\certutil.exe
Not Found: clinfo
Found: C:\Windows\system32\comp.exe
Found: C:\Windows\system32\convert.exe
Found: F:\cygwin64\bin\cp.exe
Found: C:\Program Files\Git\usr\bin\cp.exe
Warning: F:\cygwin64\bin\cp.exe hides C:\Program Files\Git\usr\bin\cp.exe
Found: F:\cygwin64\bin\cpp.exe
Found: F:\Strawberry\c\bin\cpp.exe
Warning: F:\cygwin64\bin\cpp.exe hides F:\Strawberry\c\bin\cpp.exe
Not Found: crontab
Found: C:\Windows\system32\curl.exe
Found: C:\Program Files\Git\mingw64\bin\curl.exe
Warning: C:\Windows\system32\curl.exe hides C:\Program Files\Git\mingw64\bin\curl.exe
Found: F:\cygwin64\bin\expand.exe
Found: C:\Windows\system32\expand.exe
Warning: F:\cygwin64\bin\expand.exe hides C:\Windows\system32\expand.exe
Found: C:\Program Files\Git\usr\bin\expand.exe
Warning: F:\cygwin64\bin\expand.exe hides C:\Program Files\Git\usr\bin\expand.exe
Found: F:\cygwin64\bin\find.exe
Found: C:\Windows\system32\find.exe
Warning: F:\cygwin64\bin\find.exe hides C:\Windows\system32\find.exe
Found: C:\Program Files\Git\usr\bin\find.exe
Warning: F:\cygwin64\bin\find.exe hides C:\Program Files\Git\usr\bin\find.exe
Found: C:\Windows\system32\ftp.exe
Found: F:\cygwin64\bin\gcc.exe
Found: F:\Strawberry\c\bin\gcc.exe
Warning: F:\cygwin64\bin\gcc.exe hides F:\Strawberry\c\bin\gcc.exe
Found: F:\Strawberry\c\bin\gdb.exe
Found: F:\cygwin64\bin\grep.exe
Found: C:\Program Files\Git\usr\bin\grep.exe
Warning: F:\cygwin64\bin\grep.exe hides C:\Program Files\Git\usr\bin\grep.exe
Found: F:\cygwin64\bin\hostname.exe
Found: C:\Windows\system32\hostname.exe
Warning: F:\cygwin64\bin\hostname.exe hides C:\Windows\system32\hostname.exe
Found: C:\Program Files\Git\usr\bin\hostname.exe
Warning: F:\cygwin64\bin\hostname.exe hides C:\Program Files\Git\usr\bin\hostname.exe
Found: F:\cygwin64\bin\kill.exe
Found: C:\Program Files\Git\usr\bin\kill.exe
Warning: F:\cygwin64\bin\kill.exe hides C:\Program Files\Git\usr\bin\kill.exe
Found: C:\Windows\system32\klist.exe
Found: F:\cygwin64\bin\ld.exe
Found: F:\Strawberry\c\bin\ld.exe
Warning: F:\cygwin64\bin\ld.exe hides F:\Strawberry\c\bin\ld.exe
Found: F:\cygwin64\bin\ls.exe
Found: C:\Program Files\Git\usr\bin\ls.exe
Warning: F:\cygwin64\bin\ls.exe hides C:\Program Files\Git\usr\bin\ls.exe
Found: F:\cygwin64\bin\make.exe
Found: F:\cygwin64\bin\mv.exe
Found: C:\Program Files\Git\usr\bin\mv.exe
Warning: F:\cygwin64\bin\mv.exe hides C:\Program Files\Git\usr\bin\mv.exe
Found: C:\Windows\system32\nslookup.exe
Found: F:\Strawberry\c\bin\patch.exe
Found: C:\Program Files\Git\usr\bin\patch.exe
Warning: F:\Strawberry\c\bin\patch.exe hides C:\Program Files\Git\usr\bin\patch.exe
Found: F:\cygwin64\bin\perl.exe
Found: F:\Strawberry\perl\bin\perl.exe
Warning: F:\cygwin64\bin\perl.exe hides F:\Strawberry\perl\bin\perl.exe
Found: C:\Program Files\Git\usr\bin\perl.exe
Warning: F:\cygwin64\bin\perl.exe hides C:\Program Files\Git\usr\bin\perl.exe
Found: C:\Windows\system32\replace.exe
Found: F:\cygwin64\bin\rm.exe
Found: C:\Program Files\Git\usr\bin\rm.exe
Warning: F:\cygwin64\bin\rm.exe hides C:\Program Files\Git\usr\bin\rm.exe
Found: F:\cygwin64\bin\sed.exe
Found: C:\Program Files\Git\usr\bin\sed.exe
Warning: F:\cygwin64\bin\sed.exe hides C:\Program Files\Git\usr\bin\sed.exe
Found: F:\cygwin64\bin\sh.exe
Found: C:\Program Files\Git\usr\bin\sh.exe
Warning: F:\cygwin64\bin\sh.exe hides C:\Program Files\Git\usr\bin\sh.exe
Found: C:\Windows\system32\shutdown.exe
Found: F:\cygwin64\bin\sort.exe
Found: C:\Windows\system32\sort.exe
Warning: F:\cygwin64\bin\sort.exe hides C:\Windows\system32\sort.exe
Found: C:\Program Files\Git\usr\bin\sort.exe
Warning: F:\cygwin64\bin\sort.exe hides C:\Program Files\Git\usr\bin\sort.exe
Found: F:\cygwin64\bin\ssh.exe
Found: C:\Windows\System32\OpenSSH\ssh.exe
Warning: F:\cygwin64\bin\ssh.exe hides C:\Windows\System32\OpenSSH\ssh.exe
Found: C:\Program Files\Git\usr\bin\ssh.exe
Warning: F:\cygwin64\bin\ssh.exe hides C:\Program Files\Git\usr\bin\ssh.exe
Found: F:\cygwin64\bin\tar.exe
Found: C:\Windows\system32\tar.exe
Warning: F:\cygwin64\bin\tar.exe hides C:\Windows\system32\tar.exe
Found: C:\Program Files\Git\usr\bin\tar.exe
Warning: F:\cygwin64\bin\tar.exe hides C:\Program Files\Git\usr\bin\tar.exe
Found: F:\cygwin64\bin\test.exe
Found: C:\Program Files\Git\usr\bin\test.exe
Warning: F:\cygwin64\bin\test.exe hides C:\Program Files\Git\usr\bin\test.exe
Found: F:\cygwin64\bin\timeout.exe
Found: C:\Windows\system32\timeout.exe
Warning: F:\cygwin64\bin\timeout.exe hides C:\Windows\system32\timeout.exe
Found: C:\Program Files\Git\usr\bin\timeout.exe
Warning: F:\cygwin64\bin\timeout.exe hides C:\Program Files\Git\usr\bin\timeout.exe
Found: F:\cygwin64\bin\vi.exe
Found: C:\Program Files\Git\usr\bin\vi
Warning: F:\cygwin64\bin\vi.exe hides C:\Program Files\Git\usr\bin\vi
Found: C:\Program Files\Git\usr\bin\vim.exe
Found: F:\cygwin64\bin\whoami.exe
Found: C:\Windows\system32\whoami.exe
Warning: F:\cygwin64\bin\whoami.exe hides C:\Windows\system32\whoami.exe
Found: C:\Program Files\Git\usr\bin\whoami.exe
Warning: F:\cygwin64\bin\whoami.exe hides C:\Program Files\Git\usr\bin\whoami.exe

  721k 2022/12/11 F:\cygwin64\bin\cygarchive-13.dll - os=4.0 img=0.0 sys=5.2
                  "cygarchive-13.dll" v0.0 ts=2022-12-11 11:58
   39k 2016/09/19 F:\cygwin64\bin\cygargp-0.dll - os=4.0 img=0.0 sys=5.2
                  "cygargp-0.dll" v0.0 ts=2016-09-19 02:13
   29k 2022/05/02 F:\cygwin64\bin\cygatomic-1.dll - os=4.0 img=0.0 sys=5.2
                  "cygatomic-1.dll" v0.0 ts=2022-05-02 11:55
   17k 2023/01/15 F:\cygwin64\bin\cygattr-1.dll - os=4.0 img=0.0 sys=5.2
                  "cygattr-1.dll" v0.0 ts=2023-01-15 15:39
  254k 2020/03/31 F:\cygwin64\bin\cygblkid-1.dll - os=4.0 img=0.0 sys=5.2
                  "cygblkid-1.dll" v0.0 ts=2020-03-28 06:22
  132k 2021/04/20 F:\cygwin64\bin\cygbrotlicommon-1.dll - os=4.0 img=1.0 sys=5.2
                  "cygbrotlicommon-1.dll" v0.0 ts=2021-04-20 11:42
   46k 2021/04/20 F:\cygwin64\bin\cygbrotlidec-1.dll - os=4.0 img=1.0 sys=5.2
                  "cygbrotlidec-1.dll" v0.0 ts=2021-04-20 11:42
   66k 2019/07/21 F:\cygwin64\bin\cygbz2-1.dll - os=4.0 img=0.0 sys=5.2
                  "cygbz2-1.dll" v0.0 ts=2019-07-22 00:05
   13k 2019/01/02 F:\cygwin64\bin\cygcom_err-2.dll - os=4.0 img=0.0 sys=5.2
                  "cygcom_err-2.dll" v0.0 ts=2019-01-02 02:39
  193k 2021/05/20 F:\cygwin64\bin\cygcrypt-2.dll - os=4.0 img=0.0 sys=5.2
                  "cygcrypt-2.dll" v0.0 ts=2021-05-20 09:38
 2493k 2023/02/21 F:\cygwin64\bin\cygcrypto-1.1.dll - os=4.0 img=0.0 sys=5.2
                  "cygcrypto-1.1.dll" v0.0 ts=2023-02-21 18:56
  606k 2023/02/20 F:\cygwin64\bin\cygcurl-4.dll - os=4.0 img=0.0 sys=5.2
                  "cygcurl-4.dll" v0.0 ts=2023-02-20 20:32
 1552k 2017/09/28 F:\cygwin64\bin\cygdb-5.3.dll - os=4.0 img=0.0 sys=5.2
                  "cygdb-5.3.dll" v0.0 ts=2017-09-28 20:05
  119k 2017/09/28 F:\cygwin64\bin\cygdb_cxx-5.3.dll - os=4.0 img=0.0 sys=5.2
                  "cygdb_cxx-5.3.dll" v0.0 ts=2017-09-28 20:06
  569k 2017/09/28 F:\cygwin64\bin\cygdb_sql-5.3.dll - os=4.0 img=0.0 sys=5.2
                  "cygdb_sql-5.3.dll" v0.0 ts=2017-09-28 20:06
  174k 2023/02/08 F:\cygwin64\bin\cygedit-0.dll - os=4.0 img=0.0 sys=5.2
                  "cygedit-0.dll" v0.0 ts=2023-02-08 15:01
  169k 2021/07/23 F:\cygwin64\bin\cygexpat-1.dll - os=4.0 img=0.0 sys=5.2
                  "cygexpat-1.dll" v0.0 ts=2021-07-23 20:08
  353k 2020/03/31 F:\cygwin64\bin\cygfdisk-1.dll - os=4.0 img=0.0 sys=5.2
                  "cygfdisk-1.dll" v0.0 ts=2020-03-28 06:23
   27k 2015/11/17 F:\cygwin64\bin\cygffi-6.dll - os=4.0 img=0.0 sys=5.2
                  "cygffi-6.dll" v0.0 ts=2015-11-17 22:14
   30k 2022/10/23 F:\cygwin64\bin\cygffi-8.dll - os=4.0 img=0.0 sys=5.2
                  "cygffi-8.dll" v0.0 ts=2022-10-23 13:44
  220k 2023/01/21 F:\cygwin64\bin\cygfido2-1.dll - os=4.0 img=1.12 sys=5.2
                  "cygfido2-1.dll" v0.0 ts=2023-01-21 10:26
   60k 2023/01/20 F:\cygwin64\bin\cygformw-10.dll - os=4.0 img=0.0 sys=5.2
                  "cygformw-10.dll" v0.0 ts=2023-01-20 06:16
  142k 2022/09/01 F:\cygwin64\bin\cyggc-1.dll - os=4.0 img=0.0 sys=5.2
                  "cyggc-1.dll" v0.0 ts=2022-09-01 12:09
   74k 2022/05/02 F:\cygwin64\bin\cyggcc_s-seh-1.dll - os=4.0 img=0.0 sys=5.2
                  "cyggcc_s-seh-1.dll" v0.0 ts=2022-05-02 11:29
  813k 2022/04/01 F:\cygwin64\bin\cyggcrypt-20.dll - os=4.0 img=0.0 sys=5.2
                  "cyggcrypt-20.dll" v0.0 ts=2022-04-01 11:24
   49k 2019/07/10 F:\cygwin64\bin\cyggdbm-6.dll - os=4.0 img=0.0 sys=5.2
                  "cyggdbm-6.dll" v0.0 ts=2019-07-10 14:53
 2804k 2022/05/02 F:\cygwin64\bin\cyggfortran-5.dll - os=4.0 img=0.0 sys=5.2
                  "cyggfortran-5.dll" v0.0 ts=2022-05-02 12:13
  582k 2021/08/21 F:\cygwin64\bin\cyggmp-10.dll - os=4.0 img=0.0 sys=5.2
                  "cyggmp-10.dll" v0.0 ts=2021-08-21 19:11
  217k 2022/05/02 F:\cygwin64\bin\cyggomp-1.dll - os=4.0 img=0.0 sys=5.2
                  "cyggomp-1.dll" v0.0 ts=2022-05-02 11:33
  116k 2020/02/16 F:\cygwin64\bin\cyggpg-error-0.dll - os=4.0 img=0.0 sys=5.2
                  "cyggpg-error-0.dll" v0.0 ts=2020-02-16 21:28
  113k 2022/11/17 F:\cygwin64\bin\cyggsasl-18.dll - os=4.0 img=0.0 sys=5.2
                  "cyggsasl-18.dll" v0.0 ts=2022-11-17 22:08
  274k 2018/03/16 F:\cygwin64\bin\cyggssapi_krb5-2.dll - os=4.0 img=0.0 sys=5.2
                  "cyggssapi_krb5-2.dll" v0.0 ts=2018-03-16 03:38
 1214k 2023/02/17 F:\cygwin64\bin\cygguile-3.0-1.dll - os=4.0 img=0.0 sys=5.2
                  "cygguile-3.0-1.dll" v0.0 ts=2023-02-17 17:48
   36k 2022/10/08 F:\cygwin64\bin\cyghistory7.dll - os=4.0 img=0.0 sys=5.2
                  "cyghistory7.dll" v0.0 ts=2022-10-08 05:37
 1063k 2022/05/23 F:\cygwin64\bin\cygiconv-2.dll - os=4.0 img=0.0 sys=5.2
                  "cygiconv-2.dll" v0.0 ts=2022-05-23 12:22
  198k 2022/07/13 F:\cygwin64\bin\cygidn-12.dll - os=4.0 img=0.0 sys=5.2
                  "cygidn-12.dll" v0.0 ts=2022-07-13 07:16
  339k 2022/10/24 F:\cygwin64\bin\cygidn2-0.dll - os=4.0 img=0.0 sys=5.2
                  "cygidn2-0.dll" v0.0 ts=2022-10-24 07:52
   44k 2022/11/18 F:\cygwin64\bin\cygintl-8.dll - os=4.0 img=0.0 sys=5.2
                  "cygintl-8.dll" v0.0 ts=2022-11-18 12:16
 1706k 2022/08/13 F:\cygwin64\bin\cygisl-23.dll - os=4.0 img=0.0 sys=5.2
                  "cygisl-23.dll" v0.0 ts=2022-08-13 13:14
  194k 2022/01/23 F:\cygwin64\bin\cygjsoncpp-25.dll - os=4.0 img=1.9 sys=5.2
                  "cygjsoncpp-25.dll" v0.0 ts=2022-01-23 05:52
  192k 2018/03/16 F:\cygwin64\bin\cygk5crypto-3.dll - os=4.0 img=0.0 sys=5.2
                  "cygk5crypto-3.dll" v0.0 ts=2018-03-16 03:37
  754k 2018/03/16 F:\cygwin64\bin\cygkrb5-3.dll - os=4.0 img=0.0 sys=5.2
                  "cygkrb5-3.dll" v0.0 ts=2018-03-16 03:37
   37k 2018/03/16 F:\cygwin64\bin\cygkrb5support-0.dll - os=4.0 img=0.0 sys=5.2
                  "cygkrb5support-0.dll" v0.0 ts=2018-03-16 03:36
   48k 2023/02/11 F:\cygwin64\bin\cyglber-2-4-2.dll - os=4.0 img=0.0 sys=5.2
                  "cyglber-2.dll" v0.0 ts=2023-02-11 15:35
   48k 2023/02/11 F:\cygwin64\bin\cyglber-2.dll - os=4.0 img=0.0 sys=5.2
                  "cyglber-2.dll" v0.0 ts=2023-02-11 15:35
  323k 2023/02/11 F:\cygwin64\bin\cygldap-2-4-2.dll - os=4.0 img=0.0 sys=5.2
                  "cygldap-2.dll" v0.0 ts=2023-02-11 15:35
  323k 2023/02/11 F:\cygwin64\bin\cygldap-2.dll - os=4.0 img=0.0 sys=5.2
                  "cygldap-2.dll" v0.0 ts=2023-02-11 15:35
  323k 2023/02/11 F:\cygwin64\bin\cygldap_r-2-4-2.dll - os=4.0 img=0.0 sys=5.2
                  "cygldap-2.dll" v0.0 ts=2023-02-11 15:35
  136k 2022/10/30 F:\cygwin64\bin\cyglz4-1.dll - os=4.0 img=0.0 sys=5.2
                  "cyglz4-1.dll" v0.0 ts=2022-10-30 17:59
  174k 2023/01/22 F:\cygwin64\bin\cyglzma-5.dll - os=4.0 img=0.0 sys=5.2
                  "cyglzma-5.dll" v0.0 ts=2023-01-22 18:15
  132k 2020/10/31 F:\cygwin64\bin\cyglzo2-2.dll - os=4.0 img=0.0 sys=5.2
                  "cyglzo2-2.dll" v0.0 ts=2020-10-31 16:58
  160k 2023/01/14 F:\cygwin64\bin\cygmagic-1.dll - os=4.0 img=0.0 sys=5.2
                  "cygmagic-1.dll" v0.0 ts=2023-01-14 21:35
  214k 2023/01/14 F:\cygwin64\bin\cygman-2-11-2.dll - os=4.0 img=0.0 sys=5.2
                  "cygman-2-11-2.dll" v0.0 ts=2023-01-14 18:17
   25k 2023/01/14 F:\cygwin64\bin\cygmandb-2-11-2.dll - os=4.0 img=0.0 sys=5.2
                  "cygmandb-2-11-2.dll" v0.0 ts=2023-01-14 18:17
   29k 2023/01/20 F:\cygwin64\bin\cygmenuw-10.dll - os=4.0 img=0.0 sys=5.2
                  "cygmenuw-10.dll" v0.0 ts=2023-01-20 06:14
  115k 2022/12/18 F:\cygwin64\bin\cygmpc-3.dll - os=4.0 img=0.0 sys=5.2
                  "cygmpc-3.dll" v0.0 ts=2022-12-18 17:06
  650k 2023/01/07 F:\cygwin64\bin\cygmpfr-6.dll - os=4.0 img=0.0 sys=5.2
                  "cygmpfr-6.dll" v0.0 ts=2023-01-07 08:06
  327k 2023/01/20 F:\cygwin64\bin\cygncursesw-10.dll - os=4.0 img=0.0 sys=5.2
                  "cygncursesw-10.dll" v0.0 ts=2023-01-20 06:12
  170k 2023/02/19 F:\cygwin64\bin\cygnghttp2-14.dll - os=4.0 img=0.0 sys=5.2
                  "cygnghttp2-14.dll" v0.0 ts=2023-02-19 02:16
   30k 2015/03/19 F:\cygwin64\bin\cygntlm-0.dll - os=4.0 img=0.0 sys=5.2
                  "cygntlm-0.dll" v0.0 ts=2015-03-19 02:15
   67k 2022/05/02 F:\cygwin64\bin\cygobjc-4.dll - os=4.0 img=0.0 sys=5.2
                  "cygobjc-4.dll" v0.0 ts=2022-05-02 11:54
 1020k 2020/03/27 F:\cygwin64\bin\cygp11-kit-0.dll - os=4.0 img=0.0 sys=5.2
                  "cygp11-kit-0.dll" v0.0 ts=2020-03-27 22:30
   13k 2023/01/20 F:\cygwin64\bin\cygpanelw-10.dll - os=4.0 img=0.0 sys=5.2
                  "cygpanelw-10.dll" v0.0 ts=2023-01-20 06:14
  620k 2022/12/18 F:\cygwin64\bin\cygpcre2-8-0.dll - os=4.0 img=0.0 sys=5.2
                  "cygpcre2-8-0.dll" v0.0 ts=2022-12-18 16:27
 3566k 2021/08/14 F:\cygwin64\bin\cygperl5_32.dll - os=4.0 img=0.0 sys=5.2
                  "cygperl5_32.dll" v0.0 ts=2021-08-14 08:07
   44k 2022/10/06 F:\cygwin64\bin\cygpipeline-1.dll - os=4.0 img=0.0 sys=5.2
                  "cygpipeline-1.dll" v0.0 ts=2022-10-06 19:49
   42k 2023/02/19 F:\cygwin64\bin\cygpopt-0.dll - os=4.0 img=0.0 sys=5.2
                  "cygpopt-0.dll" v0.0 ts=2023-02-19 19:45
   71k 2022/12/26 F:\cygwin64\bin\cygpsl-5.dll - os=4.0 img=0.0 sys=5.2
                  "cygpsl-5.dll" v0.0 ts=2022-12-26 22:46
  355k 2022/05/02 F:\cygwin64\bin\cygquadmath-0.dll - os=4.0 img=0.0 sys=5.2
                  "cygquadmath-0.dll" v0.0 ts=2022-05-02 11:56
  257k 2022/10/08 F:\cygwin64\bin\cygreadline7.dll - os=4.0 img=0.0 sys=5.2
                  "cygreadline7.dll" v0.0 ts=2022-10-08 05:37
  190k 2021/05/01 F:\cygwin64\bin\cygrhash-0.dll - os=4.0 img=0.0 sys=5.2
                  "cygrhash-0.dll" v0.0 ts=2021-05-01 15:34
   99k 2020/01/09 F:\cygwin64\bin\cygsasl2-3.dll - os=4.0 img=0.0 sys=5.2
                  "cygsasl2-3.dll" v0.0 ts=2020-01-09 02:13
   11k 2015/07/17 F:\cygwin64\bin\cygsigsegv-2.dll - os=4.0 img=0.0 sys=5.2
                  "cygsigsegv-2.dll" v0.0 ts=2015-07-17 22:35
  156k 2020/03/31 F:\cygwin64\bin\cygsmartcols-1.dll - os=4.0 img=0.0 sys=5.2
                  "cygsmartcols-1.dll" v0.0 ts=2020-03-28 06:22
  230k 2021/08/31 F:\cygwin64\bin\cygssh2-1.dll - os=4.0 img=0.0 sys=5.2
                  "cygssh2-1.dll" v0.0 ts=2021-08-31 08:06
  512k 2023/02/21 F:\cygwin64\bin\cygssl-1.1.dll - os=4.0 img=0.0 sys=5.2
                  "cygssl-1.1.dll" v0.0 ts=2023-02-21 18:57
 1870k 2022/05/02 F:\cygwin64\bin\cygstdc++-6.dll - os=4.0 img=0.0 sys=5.2
                  "cygstdc++-6.dll" v0.0 ts=2022-05-02 11:43
   68k 2019/07/29 F:\cygwin64\bin\cygtasn1-6.dll - os=4.0 img=0.0 sys=5.2
                  "cygtasn1-6.dll" v0.0 ts=2019-07-29 03:12
   59k 2023/01/20 F:\cygwin64\bin\cygticw-10.dll - os=4.0 img=0.0 sys=5.2
                  "cygticw-10.dll" v0.0 ts=2023-01-20 06:12
 1784k 2022/10/27 F:\cygwin64\bin\cygunistring-5.dll - os=4.0 img=0.0 sys=5.2
                  "cygunistring-5.dll" v0.0 ts=2022-10-27 17:07
   27k 2020/03/31 F:\cygwin64\bin\cyguuid-1.dll - os=4.0 img=0.0 sys=5.2
                  "cyguuid-1.dll" v0.0 ts=2020-03-28 06:22
  146k 2022/08/16 F:\cygwin64\bin\cyguv-1.dll - os=4.0 img=0.0 sys=5.2
                  "cyguv-1.dll" v0.0 ts=2022-08-16 20:46
 1261k 2022/01/07 F:\cygwin64\bin\cygxml2-2.dll - os=4.0 img=0.0 sys=5.2
                  "cygxml2-2.dll" v0.0 ts=2022-01-07 05:32
   37k 2020/09/06 F:\cygwin64\bin\cygxxhash-0.dll - os=4.0 img=0.0 sys=5.2
                  "cygxxhash-0.dll" v0.0 ts=2020-09-07 00:04
   88k 2022/10/15 F:\cygwin64\bin\cygz.dll - os=4.0 img=0.0 sys=5.2
                  "cygz.dll" v0.0 ts=2022-10-15 19:14
  637k 2023/02/11 F:\cygwin64\bin\cygzstd-1.dll - os=4.0 img=0.0 sys=5.2
                  "cygzstd-1.dll" v0.0 ts=2023-02-11 14:15
 2884k 2023/02/14 F:\cygwin64\bin\cygwin1.dll - os=4.0 img=0.0 sys=5.2
                  "cygwin1.dll" v0.0 ts=2023-02-14 13:23
    Cygwin DLL version info:
        DLL version: 3.4.6
        API major: 0
        API minor: 345
        Shared data: 5
        DLL identifier: cygwin1
        Mount registry: 3
        Cygwin registry name: Cygwin
        Installations name: Installations
        Cygdrive default prefix: 
        Build date: 
        Shared id: cygwin1S5


No Cygwin services found.


Cygwin Package Information
Last downloaded files to: f:\cygDownloads
Last downloaded files from: https://ftp.funet.fi/pub/mirrors/sourceware.org/pub/cygwin/

Package                                 Version                      Status
_autorebase                             001091-1                     OK
alternatives                            1.3.30c-10                   OK
base-cygwin                             3.8-2                        OK
base-files                              4.3-3                        OK
bash                                    4.4.12-3                     OK
binutils                                2.40-1                       OK
bzip2                                   1.0.8-1                      OK
ca-certificates                         2023.2.60-1                  OK
cmake                                   3.23.2-1                     OK
coreutils                               9.0-1                        OK
crypto-policies                         20190218-1                   OK
csih                                    0.9.12-1                     OK
cygrunsrv                               1.64-1                       OK
cygutils                                1.4.17-1                     OK
cygwin                                  3.4.6-1                      OK
cygwin-devel                            3.4.6-1                      OK
dash                                    0.5.12-2                     OK
diffutils                               3.9-1                        OK
editrights                              1.04-1                       OK
file                                    5.44-1                       OK
findutils                               4.9.0-1                      OK
gawk                                    5.2.1-2                      OK
gcc-core                                11.3.0-1                     OK
gcc-fortran                             11.3.0-1                     OK
gcc-g++                                 11.3.0-1                     OK
gcc-objc                                11.3.0-1                     OK
gcc-objc++                              11.3.0-1                     OK
getent                                  2.18.90-5                    OK
git                                     2.39.0-1                     OK
grep                                    3.8-2                        OK
groff                                   1.22.4-1                     OK
gzip                                    1.12-1                       OK
hostname                                3.13-1                       OK
info                                    7.0.2-1                      OK
ipc-utils                               1.1-1                        OK
less                                    590-1                        OK
libarchive13                            3.6.2-1                      OK
libargp                                 20110921-3                   OK
libatomic1                              11.3.0-1                     OK
libattr1                                2.5.1-1.20.g0981a7bfe487     OK
libblkid1                               2.33.1-2                     OK
libbrotlicommon1                        1.0.9-2                      OK
libbrotlidec1                           1.0.9-2                      OK
libbz2_1                                1.0.8-1                      OK
libcom_err2                             1.44.5-1                     OK
libcrypt2                               4.4.20-1                     OK
libcurl4                                7.88.1-1                     OK
libdb5.3                                5.3.28-2                     OK
libedit0                                20221030-4                   OK
libexpat1                               2.4.1-1                      OK
libfdisk1                               2.33.1-2                     OK
libffi6                                 3.2.1-2                      OK
libffi8                                 3.4.3-1                      OK
libfido2                                1.12.0-1                     OK
libgc1                                  8.2.2-1                      OK
libgcc1                                 11.3.0-1                     OK
libgcrypt20                             1.10.1-1                     OK
libgdbm6                                1.18.1-1                     OK
libgfortran5                            11.3.0-1                     OK
libgmp10                                6.2.1-2                      OK
libgomp1                                11.3.0-1                     OK
libgpg-error0                           1.37-1                       OK
libgsasl-common                         2.2.0-2                      OK
libgsasl18                              2.2.0-2                      OK
libgssapi_krb5_2                        1.15.2-2                     OK
libguile3.0_1                           3.0.9-1                      OK
libiconv2                               1.17-1                       OK
libidn12                                1.41-1                       OK
libidn2_0                               2.3.4-1                      OK
libintl8                                0.21.1-2                     OK
libisl23                                0.25-1                       OK
libjsoncpp25                            1.9.5-1                      OK
libk5crypto3                            1.15.2-2                     OK
libkrb5_3                               1.15.2-2                     OK
libkrb5support0                         1.15.2-2                     OK
liblz4_1                                1.9.4-1                      OK
liblzma5                                5.4.1-1                      OK
liblzo2_2                               2.10-2                       OK
libmpc3                                 1.3.1-1                      OK
libmpfr6                                4.2.0-1                      OK
libncursesw10                           6.4-3.20230114               OK
libnghttp2_14                           1.52.0-1                     OK
libntlm0                                1.4-1                        OK
libobjc4                                11.3.0-1                     OK
libopenldap2                            2.6.4-1                      OK
libopenldap2_4_2                        2.6.4-1                      OK
libp11-kit0                             0.23.20-1                    OK
libpcre2_8_0                            10.42-1                      OK
libpipeline1                            1.5.6-1                      OK
libpopt-common                          1.19-1                       OK
libpopt0                                1.19-1                       OK
libpsl5                                 0.21.2-1                     OK
libquadmath0                            11.3.0-1                     OK
libreadline7                            8.2-2                        OK
librhash0                               1.4.1-1                      OK
libsasl2_3                              2.1.27-1                     OK
libsigsegv2                             2.10-2                       OK
libsmartcols1                           2.33.1-2                     OK
libssh2_1                               1.10.0-1                     OK
libssl1.1                               1.1.1t-1                     OK
libstdc++6                              11.3.0-1                     OK
libtasn1_6                              4.14-1                       OK
libunistring5                           1.1-1                        OK
libuuid1                                2.33.1-2                     OK
libuv1                                  1.44.2-1                     OK
libxml2                                 2.9.12-2                     OK
libxxhash0                              0.8.0-1                      OK
libzstd1                                1.5.4-1                      OK
login                                   1.13-1                       OK
make                                    4.4-1                        OK
man-db                                  2.11.2-1                     OK
mingw64-x86_64-binutils                 2.40-1                       OK
mingw64-x86_64-gcc-core                 11.3.0-1                     OK
mingw64-x86_64-gcc-fortran              11.3.0-1                     OK
mingw64-x86_64-gcc-g++                  11.3.0-1                     OK
mingw64-x86_64-headers                  10.0.0-1                     OK
mingw64-x86_64-runtime                  10.0.0-1                     OK
mingw64-x86_64-windows-default-manifest 6.4-1                        OK
mingw64-x86_64-winpthreads              10.0.0-1                     OK
mintty                                  3.6.3-1                      OK
ncurses                                 6.4-3.20230114               OK
openssh                                 9.2p1-1                      OK
openssl                                 1.1.1t-1                     OK
p11-kit                                 0.23.20-1                    OK
p11-kit-trust                           0.23.20-1                    OK
perl-Error                              0.17029-2                    OK
perl-TermReadKey                        2.38-3                       OK
perl_autorebase                         5.32.1-2                     OK
perl_base                               5.32.1-2                     OK
publicsuffix-list-dafsa                 20221208-1                   OK
rebase                                  4.6.2-2                      OK
rsync                                   3.2.7-1                      OK
run                                     1.3.4-2                      OK
sed                                     4.9-1                        OK
tar                                     1.34-1                       OK
terminfo                                6.4-3.20230114               OK
tzcode                                  2022g-1                      OK
tzdata                                  2022g-1                      OK
util-linux                              2.33.1-2                     OK
vim-minimal                             8.2.4372-1                   OK
w32api-headers                          10.0.0-1                     OK
w32api-runtime                          10.0.0-1                     OK
which                                   2.20-2                       OK
windows-default-manifest                6.4-2                        OK
xz                                      5.4.1-1                      OK
zlib0                                   1.2.13-1                     OK
zstd                                    1.5.4-1                      OK
Use -h to see help about each section

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Nano fails to open file "~/.bashrc".
  2023-03-03 12:43 Nano fails to open file "~/.bashrc" Kirill Frolov
@ 2023-03-03 12:47 ` Andrey Repin
  2023-03-03 12:52   ` Kirill Frolov
  0 siblings, 1 reply; 9+ messages in thread
From: Andrey Repin @ 2023-03-03 12:47 UTC (permalink / raw)
  To: Kirill Frolov, cygwin

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Nano fails to open file "~/.bashrc".
  2023-03-03 12:47 ` Andrey Repin
@ 2023-03-03 12:52   ` Kirill Frolov
  2023-03-03 15:31     ` Andrey Repin
  0 siblings, 1 reply; 9+ messages in thread
From: Kirill Frolov @ 2023-03-03 12:52 UTC (permalink / raw)
  To: cygwin

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

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Nano fails to open file "~/.bashrc".
  2023-03-03 12:52   ` Kirill Frolov
@ 2023-03-03 15:31     ` Andrey Repin
  2023-03-03 15:37       ` Kirill Frolov
  0 siblings, 1 reply; 9+ messages in thread
From: Andrey Repin @ 2023-03-03 15:31 UTC (permalink / raw)
  To: Kirill Frolov, cygwin

Greetings, Kirill Frolov!

Please avoid top-posting in this list.

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

> I run it with F:\cygwin64\bin\mintty.exe -i /Cygwin-Terminal.ico -

Thanks. TBH, I'm baffled. Your setup looks like standard unaltered one.
Diagnostics seems clear, but the last bit remains.
What the `which nano` says?

> $ 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: <empty>




-- 
With best regards,
Andrey Repin
Friday, March 3, 2023 18:26:32

Sorry for my terrible english...

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Nano fails to open file "~/.bashrc".
  2023-03-03 15:31     ` Andrey Repin
@ 2023-03-03 15:37       ` Kirill Frolov
  2023-03-03 15:53         ` Eliot Moss
  2023-03-04 13:21         ` Andrey Repin
  0 siblings, 2 replies; 9+ messages in thread
From: Kirill Frolov @ 2023-03-03 15:37 UTC (permalink / raw)
  To: cygwin


On 03.03.2023 18:31, Andrey Repin wrote:
> Greetings, Kirill Frolov!
>
> Please avoid top-posting in this list.
>
>> 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
>>>
>> I run it with F:\cygwin64\bin\mintty.exe -i /Cygwin-Terminal.ico -
> Thanks. TBH, I'm baffled. Your setup looks like standard unaltered one.
> Diagnostics seems clear, but the last bit remains.
> What the `which nano` says?
>
>> $ 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: <empty>
> $ which nano
> /cygdrive/c/Program Files/Git/usr/bin/nano
>
>

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Nano fails to open file "~/.bashrc".
  2023-03-03 15:37       ` Kirill Frolov
@ 2023-03-03 15:53         ` Eliot Moss
  2023-03-04  9:55           ` Oliver Schoede
  2023-03-04 13:21         ` Andrey Repin
  1 sibling, 1 reply; 9+ messages in thread
From: Eliot Moss @ 2023-03-03 15:53 UTC (permalink / raw)
  To: Kirill Frolov, cygwin

On 3/3/2023 10:37 AM, Kirill Frolov via Cygwin wrote:
> 
> On 03.03.2023 18:31, Andrey Repin wrote:
>> Greetings, Kirill Frolov!
>>
>> Please avoid top-posting in this list.
>>
>>> 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
>>>>
>>> I run it with F:\cygwin64\bin\mintty.exe -i /Cygwin-Terminal.ico -
>> Thanks. TBH, I'm baffled. Your setup looks like standard unaltered one.
>> Diagnostics seems clear, but the last bit remains.
>> What the `which nano` says?
>>
>>> $ 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: <empty>
>> $ which nano
>> /cygdrive/c/Program Files/Git/usr/bin/nano

I'll jump in: That does not appear to be Cygwin nano, but some other, Windows-based
nano, which would expect Windows type paths, not Cygwin type paths.  You have (at
least) two options:

- Drop that nano and install the Cygwin one;
- Invoke that nano with a Windows path, perhaps like this:

nano $(cygpath -wa ~/.bashrc)

Personally, I'd go with the first option, since CYgwin nano is more likely to
play nicely with Cygwin files ...

Best wishes - Eliot Moss

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Nano fails to open file "~/.bashrc".
  2023-03-03 15:53         ` Eliot Moss
@ 2023-03-04  9:55           ` Oliver Schoede
  0 siblings, 0 replies; 9+ messages in thread
From: Oliver Schoede @ 2023-03-04  9:55 UTC (permalink / raw)
  To: cygwin; +Cc: moss

On Fri, 3 Mar 2023 10:53:42 -0500
Eliot Moss via Cygwin <cygwin@cygwin.com> wrote:
>
>- Drop that nano and install the Cygwin one;
>- Invoke that nano with a Windows path, perhaps like this:
>
>nano $(cygpath -wa ~/.bashrc)
>

Another option is to tinker with your PATH, so that Cygwin's binaries
are found before others. I've been doing this in my .profile for years,
for similar reasons. It's a hack I admit, don't remember ever running
into problems though.

Greetings,
Oliver

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Nano fails to open file "~/.bashrc".
  2023-03-03 15:37       ` Kirill Frolov
  2023-03-03 15:53         ` Eliot Moss
@ 2023-03-04 13:21         ` Andrey Repin
  2023-03-05 21:19           ` Oliver Schoede
  1 sibling, 1 reply; 9+ messages in thread
From: Andrey Repin @ 2023-03-04 13:21 UTC (permalink / raw)
  To: Kirill Frolov, cygwin

Greetings, Kirill Frolov!

> $ which nano
> /cygdrive/c/Program Files/Git/usr/bin/nano

That explains it. Cygwin does not install nano by default.
Fire up your setup.exe and install it, that will fix your issue.
As for the future, I suggest to patch your ~/.profile and exclude
unnecessary/conflicting directories from $PATH.
Something along the lines of

PATH="$(tr ":" "\\n" <<<"$PATH" | grep -v /Windows/ | tr "\\n" ":")" export PATH


-- 
With best regards,
Andrey Repin
Saturday, March 4, 2023 16:14:34

Sorry for my terrible english...


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Nano fails to open file "~/.bashrc".
  2023-03-04 13:21         ` Andrey Repin
@ 2023-03-05 21:19           ` Oliver Schoede
  0 siblings, 0 replies; 9+ messages in thread
From: Oliver Schoede @ 2023-03-05 21:19 UTC (permalink / raw)
  To: cygwin

On Sat, 4 Mar 2023 16:21:28 +0300
Andrey Repin via Cygwin <cygwin@cygwin.com> wrote:
>
>> $ which nano
>> /cygdrive/c/Program Files/Git/usr/bin/nano
>
>That explains it. Cygwin does not install nano by default.

Oops, my understanding was he'd already done so and there was a
conflict. You need to install it first of course, sorry Kirill.


Oliver

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2023-03-05 21:19 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-03 12:43 Nano fails to open file "~/.bashrc" Kirill Frolov
2023-03-03 12:47 ` Andrey Repin
2023-03-03 12:52   ` Kirill Frolov
2023-03-03 15:31     ` Andrey Repin
2023-03-03 15:37       ` Kirill Frolov
2023-03-03 15:53         ` Eliot Moss
2023-03-04  9:55           ` Oliver Schoede
2023-03-04 13:21         ` Andrey Repin
2023-03-05 21:19           ` Oliver Schoede

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