why "DEFAULT" ?

Wayne Davison wayned at samba.org
Mon Feb 20 19:43:05 UTC 2017


On Wed, Jan 25, 2017 at 7:22 AM, Дугин Сергей <drug at qwarta.ru> wrote:

> %G the gid of the file (decimal) or "DEFAULT"
>
> Why "DEFAULT"?
>

The DEFAULT usually indicates that rsync isn't preserving the gid value at
all (so it doesn't have any group info for the file) but it can also mean
that the receiver doesn't have permission to set that group value.  This
can happen if the receiver is not running as root and the desired group
isn't in the user's group membership.

In the case of your options, it looks like you either need to ensure that
the receiving rsync is running as root, or (if it is running as an admin
user that is not UID 0) tell rsync to assume that it has super-user powers
via the --super option.

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


More information about the rsync mailing list