Bug#841237: openssh-server: force exact permissions on newly uploaded files and directories

2021-04-01 Thread Mark Gallagher
I'd like to register a vote here. Fedora and therefore RHEL have been 
shipping this patch for 6 years now:


https://src.fedoraproject.org/rpms/openssh/blob/f22/f/openssh-6.7p1-sftp-force-permission.patch

The chances of BSD either upstreaming this patch OR providing a patch 
which behaves differently to this one seems to me to be quite low.




Bug#841237: openssh-server: force exact permissions on newly uploaded files and directories

2017-11-25 Thread Colin Watson
On Sat, Nov 25, 2017 at 02:26:18PM +0100, Dr. Nagy Elemér Kár oly wrote:
> The V3 patch (https://bugzilla.mindrot.org/attachment.cgi?id=3096) forces 
> permission on directories as well, builds 
> cleanly both with Debian 8 and 9 (openssh-server 1:7.4p1-10+deb9u1 and 
> 1:7.6p1-2) and is a great feature IMHO.
> 
> Please integrate.

Thanks for the patch, but this sort of thing has to go upstream first.
The reason for this is: what if upstream decided to integrate some other
change that added a -m option with different semantics?  Then I, and
Debian users, would be in a sticky situation with no clear way out.

I have no particular objection to the patch, but there's no point
continuing to promote it on this bug report.

Regards,

-- 
Colin Watson   [cjwat...@debian.org]



Bug#841237: openssh-server: force exact permissions on newly uploaded files and directories

2017-11-25 Thread Dr. Nagy Elemér Kár oly
Dear Maintainer(s),

The V3 patch (https://bugzilla.mindrot.org/attachment.cgi?id=3096) forces 
permission on directories as well, builds 
cleanly both with Debian 8 and 9 (openssh-server 1:7.4p1-10+deb9u1 and 
1:7.6p1-2) and is a great feature IMHO.

Please integrate.

Elemér