3 ms·
>>>> * elevating privileges from user account to sudo (which is must have when you're logging in using your username, not root) > Sure, that's easy.. >> I'm ta
by jamiesonbecker 10y ago
>>>> * elevating privileges from user account to sudo (which is must have when you're logging in using your username, not root) > Sure, that's easy..
>> I'm talking about rsync. Try to use non-root login whily syncing root-owned files. Orgalorg solves that trivially (just add `-x` flag and it's done).
Fair enough! FWIW, that's actually trivial with native rsync also:
rsync --rsync-path="sudo rsync" (...)
That calls rsync as 'sudo rsync' on the remote system.