kitty/kittens/ssh
Kovid Goyal 8538e82c05
ssh kitten: Preserve permissions of copied directories
The archive reused the metadata of the top level directory for all nested
directories and both bootstrap implementations recreated directories with
the remote umask.

Stat every directory when building the archive, passing the stat result
explicitly to the header callback and skipping directories that vanish or
are replaced by something else while being copied.

When deploying, move directories not present at the destination intact,
replacing any dangling symlink or file in the way, and merge into existing
directories keeping their permissions. The shell implementation falls back
to creating the directory and merging if the move fails. Make the
temporary directory deletable before removing it as copied directories can
lack write or search permission.

Closes #10727
2026-10-23 20:44:23 +05:30
..
__init__.py
askpass.go Fix #10517 2026-09-23 10:44:08 +05:30
config.go ssh kitten: Preserve permissions of copied directories 2026-10-23 20:44:23 +05:30
config_test.go ssh kitten: Preserve permissions of copied directories 2026-10-23 20:44:23 +05:30
main.go ssh kitten: Allow per-host color schemes for dark and light mode 2026-10-23 09:37:50 +05:30
main.py ssh kitten: Allow per-host color schemes for dark and light mode 2026-10-23 09:37:50 +05:30
main_test.go ssh kitten: Allow per-host color schemes for dark and light mode 2026-10-23 09:37:50 +05:30
utils.go Reset SSH extra option state after its value 2026-09-26 22:00:26 +05:00
utils.py ssh kitten: Verify owner and permissions of SHM memory used for askpass 2026-09-01 20:14:03 +05:30
utils_test.go Reset SSH extra option state after its value 2026-09-26 22:00:26 +05:00