How to keep the file owner when use rclone sync

#1

Hello,
How to keep the file owner when use rclone sync?

ll local/
-rw------- 1 sure sure 0 Apr 12 11:03 testfile

rclone sync local/ dest/

ll dest/
-rw------- 1 root root 0 Apr 12 11:03 testfile

Thanks

0 Likes

#2

Rclone doesn’t track permissions nor owners. If you want to keep that, you can dump that meta data to a file and back that up for later restore.

0 Likes