Pierre Frenkiel <pierre.frenk...@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 -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/87oanax2zi....@carbon.locationd.net.