[Bug 3036] Legacy SFTP rename (SSH2_FXP_RENAME) fails for files owned by others

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Fri Aug 30 15:06:42 AEST 2019


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

--- Comment #2 from Alex Wilson <alex+mailinglists_openssh-dev at cooperi.net> ---
I think adding that particular privilege back in for sftp-server should
be fine. I guess I missed this particular semantic of older clients at
the time and took out a little too much.

The only user of solaris_drop_privs_pinfo_net_fork_exec() is
platform_pledge_sftp_server() at the moment, I believe, so simply
changing that function should be fine. The name doesn't make it clear
whether FILE_LINK_ANY is in there or not, so I think it'd also be fine
not to rename it.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.


More information about the openssh-bugs mailing list