Which command WinSCP uses to set times?
I'm trying to get rid of the following error dialog while performing the Synchronize command:
Since I'm not the owner of the files (but still have group write permissions), I've added the
But, unfortunately, WinSCP seems to be not using the
Regards.
PS.: Although I've previously removed the "Preserve timestamp" setting, we all know that this flag is imposed throughout the sync process.
scp: <filename>: set times: Operation not permitted
CAP_FOWNER
capability to the touch
executable in other to fix the set time permission issue. It works as expected, meaning I can change the timestamps using the touch
command like this:
touch -a -m -t "[[CC]YY]MMDDhhmm[.ss]" <filename>
touch
command to 'set times' because the annoying error still persists. Is there any config that I can change in order to force WinSCP to use the touch
command (in Linux remotes, of course)? Any ideas/workarounds?
Regards.
PS.: Although I've previously removed the "Preserve timestamp" setting, we all know that this flag is imposed throughout the sync process.