How to reproduce:
- Remote server has a file, owner=root and group=www-data
- Log in as root
- Upload a new version of this file from local to remote. Ensure that the resume support is enabled which is normally the case for larger files. My file has 101KB.
- After the new file is uploaded, file group has changed to root