1

WinSCP complains at me when it tries to change the file modification time of a file it doesn't own. It says, set times: Operation not permitted. I can remove this error message by unchecking "Preserve timestamp" in WinSCP settings (as described here https://stackoverflow.com/a/32482812/650004 ). But I want to keep this setting on. I want to configure SSHD (I think) on my server to allow setting the file modification time to anyone with write access to the file.

I looked in /etc/ssh/sshd_config and I can't see anything that might do it.

How can I do this?

Yuri
  • 220
  • 1
  • 6
Magmatic
  • 179
  • 2
  • 2
  • 8

1 Answers1

1

It's how Linux permissions works.

No settings in SSH server can override that.

In other words your question is about Linux system, not about sshd, SCP, let alone WinSCP.

Martin Prikryl
  • 7,756
  • 2
  • 39
  • 73