Package: rsync
Version: 3.2.7-1

If I use

    rsync -SHa datafile usbdisk/

to archive a file on exfat (with destdir mounted as

    /dev/sdd2 /usbdisk exfat 
rw,nosuid,nodev,noexec,noatime,uid=1000,gid=1000,fmask=0022,dmask=0022,iocharset=utf8,errors=remount-ro
 0 0

), then the mtime is not preserved, if the group ID of datafile is 100.
Error message is something like

    rsync: [receiver] chgrp "/usbdisk/datafile" failed: Operation not permitted 
(1)

If I change the group ID of the source datafile to 1000, the the mtime is set
correctly in the destination directory.

This is unexpected. Setting UID and GID should be orthogonal to setting the
mtime.


Regards

Harri

Reply via email to