Bug#841237: openssh-server: option to let openssh/sftp force the exact permissions on newly uploaded files

2017-03-10 Thread Raphaël
See the latest patch:
https://bugzilla.mindrot.org/attachment.cgi?id=2872=diff

Any hope this could be added to Debian custom patches in the next
release?



Bug#841237: openssh-server: option to let openssh/sftp force the exact permissions on newly uploaded files

2016-10-18 Thread Raphaël Droz
Package: openssh-server
Version: 1:6.7p1-5+deb8u3
Severity: wishlist

Dear Maintainer,

Currently when setting up a shared sftp upload space between multiple
users/logins, you can force a proper umask with the -u switch.

This requires that the file at the origin has wide-permissions to start with.
In some cases, users are not skilled enough to set the permissions to be
correct (sigh).

While this could be solved via file/dir ACLs, it is also not entirely trivial
in most environments.

https://bugzilla.redhat.com/show_bug.cgi?id=1191055
https://bugzilla.mindrot.org/show_bug.cgi?id=1844
https://superuser.com/questions/1066554/



Thank you