Here is the case, the user can not write directly to the remote side’s directory, while the user can sudo on the remote side and write the directory with sudo. How to write to remote side with sudo in rsync? On the source machine, run the rsync command with --rsync-path="sudo rsync" added. For example, rsync […]
The post How to write to remote side with sudo in rsync? is from SysTutorials.