Re: permission changed when saving a file
You might need to turn off "Transfer to temporary filename".
https://winscp.net/eng/docs/resume#automatic
https://winscp.net/eng/docs/ui_pref_resume
https://winscp.net/eng/docs/resume#automatic
https://winscp.net/eng/docs/ui_pref_resume