How to allow an SCP client to change file mod time without being the owner

Advertisement

WilliamTi
Joined:
Posts:
1
Location:
Vietnam

How to allow an SCP client to change file mod time without being the owner

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/q/32482811/850848#32482812 ). 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.

Reply with quote E-mail

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
31,949
Location:
Prague, Czechia

Re: How to allow an SCP client to change file mod time without being the owner

Sorry, we do not provide support to OpenSSH. Please ask at an appropriate site. E.g. https://superuser.com/

Post a link here, if you do.

Reply with quote

Advertisement

You can post new topics in this forum