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

feat(sftp-server): new options -m and -M to force the permission to files and directories #351

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mmatsuya
Copy link

This is to add two options (-m and -M) to sftp-server in order to force the permission of the files and directory created by sftp-server. Some applications have a requirement for the permission of the files and directories which created by the sftp-server.
Now, some permission can be excluded by -u option, but the base permission comes from the original permission in the client side. And, it cannot be controlled by sftp-server side completely.

The -m option is for files, and the -M option is for directories.

@mmatsuya
Copy link
Author

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