How to keep the file owner when use rclone sync

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

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.

Or use tar (probably along with some form of compression). Might even save you space (at the cost of longer upload times, unless combined with some form of split invocation).

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.