bugzilla-daemon at mindrot.org
2015-Feb-12 09:38 UTC
[Bug 1844] Explicit file permissions enhancement to sftp-server
https://bugzilla.mindrot.org/show_bug.cgi?id=1844 Jakub Jelen <jjelen at redhat.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jjelen at redhat.com --- Comment #3 from Jakub Jelen <jjelen at redhat.com> --- Created attachment 2547 --> https://bugzilla.mindrot.org/attachment.cgi?id=2547&action=edit Patch for current upstream version First of all I would like to thank Rob for this patch. After few years I would like to take this question back to the discussion. Or try to start this discussion with upstream. We can agree that only using umask we can get into troubles and to files that are not accessible by anyone (when uploading from non-homogeneous user environment), as stated in comment #1. This is pretty inconvenient when processing files on sftp file server using scripts. Our customer is using another script to fix modes as a workaround and would be glad to see this feature in openssh. This implementation using command-line argument makes it easy to configure sftp file server instead of the other mentioned patch. I'm appending patch that is applicable to upstream version and I would like to hear some feedback. -- You are receiving this mail because: You are watching the assignee of the bug.
Apparently Analagous Threads
- [Bug 1844] Explicit file permissions enhancement to sftp-server
- Deprecation of scp protocol and improving sftp client
- [SFTP] Possibility for Adding "ForceFilePermission" option
- [Bug 1844] New: Explicit file permissions enhancement to sftp-server
- [Bug 1844] Explicit file permissions enhancement to sftp-server