Re: sshfs: problem with rsync
Pierre Frenkiel <pierre.frenkiel@gmail.com> writes:
> hi,
> I'm using sshfs to copy some files from my PC to Android devices.
> With the cp command, no problem, but trying with "rsync -av"
> gives the error:
>
> rsync: rename "/gs2/mnt/sdcard/.file.txt.xK3ZiH" -> "file.txt": Operation not permitted (1)
>
> I first thought that the cause of the error was that the filesystem used
> by default by sshfs is ntfs. I then added the option -o subtype=ext4
> Now, the mounted file system is actually ext4, but I still have the
> same error.
> Is there a workaround ?
>
Is file.txt an existing file you're trying to replace with rsync? Try
sshfs with -o workaround=rename.
--
regards,
kushal
Reply to: