Re: undesirable behaviour when copying to sshfs/sftp hosts
Jared Henley <[email protected]> Fri, 03 Aug 2012 10:29:51 +1000
| Newsgroups | gmane.comp.desktop.rox.devel |
|---|---|
| Message-ID | <[email protected]> |
On 03/08/12 07:13, Ben Morrow wrote:
> At 1PM +1000 on 2/08/12 Jared Henley wrote:
>> Here's a patch to change the invocation of cp:
>>
>> 596c596
>> < const char *argv[] = {"cp", "-pRf", NULL, NULL, NULL};
>> ---
>> > const char *argv[] = {"cp", "-Rf", "--preserve=mode,timestamps",
>> NULL, NULL, NULL};
> Please don't do that without a configure check. Those options to cp are
> not portable.
>
> A better solution would be to make this an option, possibly even a
> option that can be changed per-copy from the copy dialog.
>
> Ben
>
You're correct. But since I got no response from the list last time I
mailed, I
thought I'd better do something about it myself.
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/