diff options
author | Ondrej Holy <oholy@redhat.com> | 2019-12-13 14:12:56 +0100 |
---|---|---|
committer | Ondrej Holy <oholy@redhat.com> | 2020-01-29 08:41:55 +0000 |
commit | a35023e3d44d4dd40b9844e77427ca1ad8cf78f4 (patch) | |
tree | 35408246af08c87c387e7a002f886112a137358b /monitor | |
parent | c8f8f345a0c88e68dd21f6b548ab1cfba56732e9 (diff) | |
download | gvfs-a35023e3d44d4dd40b9844e77427ca1ad8cf78f4.tar.gz |
sftp: Fix file ownership when replacing
User and group are reset when replacing even though
G_FILE_CREATE_REPLACE_DESTINATION is not set. Although the backend
calls SSH_FXP_OPEN with SSH_FILEXFER_ATTR_UIDGID attribute, the OpenSSH
server ignores this attribute in this operation. Let's fix this by the
separate SSH_FXP_FSETSTAT call.
Fixes: https://gitlab.gnome.org/GNOME/gvfs/issues/418
Diffstat (limited to 'monitor')
0 files changed, 0 insertions, 0 deletions