-
admin posted an update 4 years, 5 months ago
How to run rsync on remote host with sudo | raimue.blog
How to run rsync on remote host with sudo | raimue.blogSometimes I want to transfer files including ownership. This is not possible as normal user as the chown(2) system call requires special privileges, that is: uid == 0. However, I do not want to open ssh access for root, but go with the usual way to elevate my privileges: sudo.