Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Oct 21, 2022

Conversation

mafredri
Copy link
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 deansheather and a team 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
Copy link
Member

@deansheather deansheather left a comment

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
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
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