Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

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.
WilliamTi

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.