`--groupmap` Does not Work as expected on Syncopoli; Works in Regular rsync
Description:
When using --groupmap
in Additional rsync options
for a specific "Local to remote" profile, I get unexpected behavior that is different to linux rsync's behavior.
I used --groupmap=*:groupAB
in Additional rsync options
. The result: the files transfer successfully, but they do not map the group correctly on the server. They are not assigned the group groupAB
unless they already were. I get the following output in Syncopoli:
rsync: [receiver] chgrp "/path/to/file/on/remote/filename.extension.aJOEDm" failed: Operation not permitted (1)
.
.
.
rsync error: some file/attrs were not transferred (see previous errors) (code 23) at /home/vagrant/build/org.amoradi.syncopoli/app/src/main/jni/android_external_rsync/main/c(1165) [sender=3.1.1]
Sync FAILED (error code 23).
I tried the rsync command, connecting to the same remote server and user that Syncopoli is conneting to, and using the same options used on Syncopoli, transferring the same file to the same destination. It works without any troubles, but Syncopoli does not.
It is worth noting that, in the error message, the .aJOEDm
is not part of the file's name. If I run the Syncopoli again, I get a different set of strings at the end. .aJOEDm
just happens to be one example.
I suppose it is an intermdiate file in the sync process, as the final file that makes it to the remote server does not have the random string at the end.
I suspect that part of the issue is that Syncopoli is performing chgrp
on the intermediate file rather than the final. But that is just my speculation, and I am not sure.
Configs (local and global, remove personal info):
Protocol: SSH
User: userA
Additional Options: -ruvt --no-perms
Wifi only: true
SSH Password: ****
Logcat output (see readme on how to get this):
sorry, I dont have adb. But is this necessary for this problem?