2

For some reason when I save files in WinSCP, it reverts the owner/group back to root. Is there a reason why this is happening? It only started happening recently. I am not sure if this is a WinSCP problem or a server problem.

2

WinSCP by default, transfers files larger than 100 KB to a temporary file first, renaming them to a target name only after a transfer finishes.

This has some advantages. But also the disadvantage you are facing, ownership of an original file is lost.

You can disable the behavior in WinSCP preferences.

0

Solved my issue. It was due to the fact that I was doing it via SFTP instead of SCP

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.