Skip to content

fix: Start SFTP sessions in user home (working directory)#4549

Merged
kylecarbs merged 2 commits into
mainfrom
mafredri/fork-sftp-with-workdir
Oct 21, 2022
Merged

fix: Start SFTP sessions in user home (working directory)#4549
kylecarbs merged 2 commits into
mainfrom
mafredri/fork-sftp-with-workdir

Conversation

@mafredri

Copy link
Copy Markdown
Member

This commit switches to our fork of pkg/sftp which includes a Server
option for changing the current working directory.

Attempt to upstream: pkg/sftp#528

Supercedes and closes #4420

Fixes #3620

@mafredri mafredri self-assigned this Oct 14, 2022
@mafredri mafredri requested review from a team and deansheather October 14, 2022 10:48
This commit switches to our fork of `pkg/sftp` which includes a Server
option for changing the current working directory.

Attempt to upstream: pkg/sftp#528

Supercedes and closes #4420

Fixes #3620
@mafredri mafredri force-pushed the mafredri/fork-sftp-with-workdir branch from adfa45e to 974c707 Compare October 14, 2022 11:05

@deansheather deansheather left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The fork should be moved to the coder org so other engineers can contribute to it if necessary.

@mafredri

Copy link
Copy Markdown
Member Author

The fork should be moved to the coder org so other engineers can contribute to it if necessary.

Hoping the fork will be short-lived. But I can do that if it isn’t merged in the coming days 👍

@kylecarbs

Copy link
Copy Markdown
Member

Merging this to fix a user issue! @mafredri if there's something you need to add still, lets just do it in another PR.

@kylecarbs kylecarbs merged commit 173b7a2 into main Oct 21, 2022
@kylecarbs kylecarbs deleted the mafredri/fork-sftp-with-workdir branch October 21, 2022 14:54
@github-actions github-actions Bot locked and limited conversation to collaborators Oct 21, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SFTP sessions start in /tmp/coder.KnYnxH (instead of $HOME)

3 participants