How did I fix «hostfile_replace_entries: link /cygdrive/<…>/.ssh/known_hosts to /cygdrive/<…>/.ssh/known_hosts.old: Permission denied» for Cywgin?

2023-10-29--18-39-58

hostfile_replace_entries: link /cygdrive/<…>/.ssh/known_hosts to /cygdrive/<…>/.ssh/known_hosts.old: Permission denied
update_known_hosts: hostfile_replace_entries failed for /cygdrive/<…>/.ssh/known_hosts: Permission denied

takeown /f "C:\tools\shell\home" /r /d y
icacls "C:\tools\shell\home" /grant:r dmitrii:F /t