Skip to content
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

[sftp server] reverse map default ids #3253

Closed
wants to merge 14 commits into from
Closed

Conversation

sharder996
Copy link
Contributor

Not all commands result in the same sequence of messages being received by the sftp server. For some commands (ie touch file.txt), the uid/gid of a created file is not received and the uid/gid of the parent directory is used instead. When residing in the top level directory of a share, a uid/gid of 1000/1000 is used. If a mapping for these ids is specified, then the ids should be translated.

Fixes #3179

@sharder996 sharder996 force-pushed the reverse-map-default-ids branch 2 times, most recently from 0300ca8 to 5e80ad1 Compare November 2, 2023 15:03
@sharder996 sharder996 marked this pull request as draft November 3, 2023 00:50
@sharder996 sharder996 force-pushed the reverse-map-default-ids branch from 01d564e to 6ba7e42 Compare November 10, 2023 11:35
@ricab ricab self-requested a review November 21, 2023 16:50
@sharder996 sharder996 closed this Dec 4, 2023
@sharder996 sharder996 deleted the reverse-map-default-ids branch December 4, 2023 21:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Mild security bug? Some writes in multipass to sshfs filesystem can have any userid the VM specifies.
1 participant