summaryrefslogtreecommitdiffhomepage
path: root/control/controlhttp/controlhttpserver
diff options
context:
space:
mode:
authorSimon Law <sfllaw@sfllaw.ca>2025-05-09 12:55:57 -0700
committerGitHub <noreply@github.com>2025-05-09 12:55:57 -0700
commit3c98964065c8079382cd0803a889fcce76063b24 (patch)
tree6893ea47a3c0c51662ca927721378948f28349e9 /control/controlhttp/controlhttpserver
parent0841477743109113b6fc1ba1052c097d2fcefee2 (diff)
downloadtailscale-3c98964065c8079382cd0803a889fcce76063b24.tar.xz
tailscale-3c98964065c8079382cd0803a889fcce76063b24.zip
ssh/tailssh: chdir to user's homedir when directly running a command (#15351)
Commit 4b525fdda (ssh/tailssh: only chdir incubator process to user's homedir when necessary and possible, 2024-08-16) defers changing the working directory until the incubator process drops its privileges. However, it didn't account for the case where there is no incubator process, because no tailscaled was found on the PATH. In that case, it only intended to run `tailscaled be-child` in the root directory but accidentally ran everything there. Fixes: #15350 Signed-off-by: Simon Law <sfllaw@sfllaw.ca>
Diffstat (limited to 'control/controlhttp/controlhttpserver')
0 files changed, 0 insertions, 0 deletions