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

idmap=user doesn't work when the user doesn't own their home directory, or the SSH server starts the client outside their home directory. #293

Open
avarner9 opened this issue Jan 19, 2024 · 1 comment

Comments

@avarner9
Copy link

I can't think of any workaround to allow idmap=user to work in these contexts, so I'm planning to add a new option: idmap=takeall . This will map all uids and gids on the server to the user's own uid and gid.

This should also make it easier for situations where you are root on the server, but unprivileged on the client, and you keep getting "access denied" errors on the client.

I'm planning to implement this myself, if there are no objections.

@h4sh5
Copy link
Collaborator

h4sh5 commented Jan 29, 2024

imo it sounds like a great feature to have, as long as it's documented well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants