Zhizhen He
22c1b6b252
ssh: Fix chmod compatibility on macOS when merging directories
2026-10-23 23:43:03 +08:00
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
Hassan Raza
d77c94e3aa
Avoid shell quoting in ssh login fallback
2026-05-19 23:14:08 +05:00
Hassan Raza
c0db371afe
Quote ssh bootstrap symlink moves
2026-05-19 16:54:02 +05:00
Kovid Goyal
9d027e4fbd
ssh kitten: Fix kitten not being on PATH when sshing into Debian systems
...
Fixes #7160
2025-01-02 19:46:50 +05:30
Kovid Goyal
fd12c5a1e0
Dont assume /dev/stderr exists
...
Fixes #6671
2023-10-04 06:26:56 +05:30
Pierre GRASSER
ce7741c9a8
bootstrap-utils.sh: make grep silent
...
Prevents a print of "no-rc".
2023-03-26 20:31:37 +02:00
Kovid Goyal
1bed92bed1
Cleanup previous PR
2023-03-20 07:42:10 +05:30
usertam
08fa7f19f7
kitty_tests, shell-integration: rework getpwuid() exceptions suppression
2023-03-20 03:31:23 +08:00
Kovid Goyal
8bdd4d0596
ssh kitten: Install kitty bootstrap on systems other than linux/darwin as now we have kitten which works on more types of systems
2023-01-31 20:16:20 +05:30
pagedown
a8f2816ac2
ssh kitten: Compile terminfo with tic coming from pkgsrc under NetBSD
2022-12-24 11:53:52 +08:00
pagedown
185d959f25
ssh kitten: Add MacPorts paths to the common locations for login shell
2022-06-28 11:43:19 +08:00
Kovid Goyal
4c74462763
ssh kitten: Look in common locations for login shell if it is not in PATH
2022-05-28 11:29:09 +05:30
Kovid Goyal
e6844ad6f2
ssh kitten: Run bash as a login shell
...
This fell through the cracks in the rewrite for automatic shell
integration. Fixes #5130
2022-05-26 21:24:32 +05:30
Kovid Goyal
02d5b3eafa
Fix shebang
2022-05-26 21:21:36 +05:30
Kovid Goyal
c07f164154
Implement an option to control the installation of the kitty bootstrap script
2022-04-03 20:30:16 +05:30
pagedown
bc9d6892d4
Clean up login shell environment variable earlier
...
Does not pollute the environment when executing commands.
2022-03-24 22:00:51 +08:00
pagedown
8569be81ea
...
2022-03-23 19:49:34 +08:00
Kovid Goyal
b444f4636e
Move another function into bootstrap-utils.sh
2022-03-16 07:37:56 +05:30
Kovid Goyal
2b8acebd6e
Make bootstrap.sh even smaller
2022-03-16 07:31:33 +05:30
Kovid Goyal
0a2768e496
Split up the bootstrap script to keep its size down
2022-03-16 07:17:12 +05:30