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

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Fri Apr 2 03:28:09 AEDT 2021


https://bugzilla.mindrot.org/show_bug.cgi?id=1844

--- Comment #12 from eb <email.bug at arcor.de> ---
Hi, I wasn't aware that fedora has been shipping the -m override.

I agree that it certainly makes sense to be able to override the
permissions server-side.

So, I'd second to merge the force-permission -m option.



Though, proper umask handling at the target side is by no means a
negligible problem, I think.

As far as I know SFTP is the only remote filesystem (access) that
transfers and creates files without proper use of the umask in effect
at their target location.

Already created a separate issue to fix the broken default behavior:
https://bugzilla.mindrot.org/show_bug.cgi?id=3252 (file transfers break
(mangle) secure/useful file permissions)

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list