On Oct 26, 2006, at 5:45 PM, Wayne Davison wrote:
I think this would be a useful thing to support.  I don't like the
options tied in to source/dest, though as that makes it harder to
reverse a copy.  I think that adding a single option, --fake-super
(since we already have --super) that does not get forwarded to the
other side would be all we'd need.

Right. That would be better.

The user could then run this:

rsync -av --rsync-path='rsync --fake-super' host:/src/ /dest/
rsync -av --rsync-path='rsync --fake-super' /src/ host:/dest/

to affect the remote side.  Then, we'd just add a daemon config option
that would allow the config file to choose if the daemon side should
run in fake-super mode or not.

Here's a preliminary patch:

Attachment: fake-super.patch
Description: Binary data


There are a couple bits I think belong in xattrs.patch instead.
Specifically, storing EAs before ACLs in rsync.c and including the removexattr method.

I am a bit puzzled why -a sends the owner, but not the group to my remote fake super rsyncd. To get the group sent I either have to be root on the client-side or use --super.

Please let me know what I've gotten wrong!
-- 
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to