Permission denied while running rsync as Superuser

Wayne Davison wayned at samba.org
Thu Nov 11 17:17:15 MST 2010


On Wed, Nov 10, 2010 at 11:14 PM, Satish Shukla <satish at cadence.com> wrote:

>  We are running rsync (v3.0.7) as superuser (root)
>

The login name you used for the source side is "distuser", so it is not
running as root (only the receiving is running as root).  Thus, all the
source files must be readable by the "distuser" user in that command.  Other
alternatives include using a different login user, using password-less sudo
to switch distuser to another user (e.g. --rsync-path='sudo rsync'), or
setting up a read-only rsync daemon on the source host (which also has a
variety of access options).

..wayne..
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.samba.org/pipermail/rsync/attachments/20101111/f574e18f/attachment.html>


More information about the rsync mailing list