| Summary: | Legacy SFTP rename (SSH2_FXP_RENAME) fails for files owned by others | ||
|---|---|---|---|
| Product: | Portable OpenSSH | Reporter: | Peter Harvey <peter.harvey> |
| Component: | sftp-server | Assignee: | Assigned to nobody <unassigned-bugs> |
| Status: | CLOSED FIXED | ||
| Severity: | normal | CC: | alex+mailinglists_openssh-dev, djm |
| Priority: | P5 | ||
| Version: | 8.0p1 | ||
| Hardware: | Other | ||
| OS: | Solaris | ||
| Bug Depends on: | |||
| Bug Blocks: | 2988 | ||
|
Description
Peter Harvey
2019-07-17 00:09:30 AEST
The sandboxing code here was written by Alex Wilson (Cc'd) and I'd like their opinion before restoring that particular privilege (I'm not familiar with Solaris' privilege model myself) 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. Thanks, I've remove the delset line. This should be fixed in git master and will be in the OpenSSH 8.1 release soon. closing resolved bugs as of 8.6p1 release |