problem restoring via rsync when using stored ACLs
dma at witbe.net
Tue Nov 6 09:59:34 GMT 2007
On Mon, 2007-05-11 at 17:27 +0100, Daniel Maher wrote:
> On Mon, 2007-05-11 at 07:08 -0800, Wayne Davison wrote:
> > On Mon, Nov 05, 2007 at 02:12:42PM +0100, Daniel Maher wrote:
> > > when i attempt to restore while preserving the ACL data, i get the
> > > following error:
> > >
> > > ERROR: out of memory in get_xattr_data [sender]
> > Turns out the get_xattr_acl() routine needed to zero out the *len_p
> > variable before calling get_xattr_data(). (My testing must have gotten
> > lucky with a small value in the uninitialized memory.) The latest CVS
> > version has this fixed.
> > ..wayne..
> I made the change to xattrs.c and recompiled rsync on my backup server.
> Now when i run the backup command (which previously worked), i get this:
After re-compiling with the latest xattrs.c from CVS, everything appears
to work as it should. The ACL data, stored as xattrs via --fake-super,
is properly restored on the target server.
Thank you Mr. Davison for your rapid response. :)
More information about the rsync