Ownership

Wayne Davison wayned at samba.org
Fri Sep 17 19:46:19 GMT 2004


On Fri, Sep 17, 2004 at 09:29:41AM +0200, Essyug wrote:
> Does the client side send 11385 or "testuser"? Or both?

It sends both (it sends a mapping table of UID/name pairs before it
sends the UIDs attached to the file-info).  The fact that your server
got the name but didn't change the UID to the right value indicates to
me that the getpwnam() call didn't succeed in finding the provided name.
One easy way to debug this is to restart the rsync daemon under strace,
like this:

    # ... kill the current daemon ...
    script
    strace rsync --daemon --no-detach
    exit

You should then be able to see what the getpwname() system call
returned (a copy will be in the "typescript" file due to using
"script").  I doubt that this is an rsync problem, though.

..wayne..


More information about the rsync mailing list