[Bug 1844] Explicit file permissions enhancement to sftp-server

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Thu Feb 12 20:38:04 AEDT 2015


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.


More information about the openssh-bugs mailing list