Re: problem restoring via rsync when using stored ACLs (--fake-super)

2007-11-06 Thread Daniel Maher
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

Re: problem restoring via rsync when using stored ACLs (--fake-super)

2007-11-06 Thread Wayne Davison
On Tue, Nov 06, 2007 at 10:59:34AM +0100, Daniel Maher wrote: 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. Oh, good! I couldn't duplicate the problem,

problem restoring via rsync when using stored ACLs (--fake-super)

2007-11-05 Thread Daniel Maher
Hello, In summary, i appear to have encountered a bug when attempting to restore files using rsync 3.0.0pre4 (matt) with stored ACLs (via --fake-super). The ACL information appears to be correctly stored as xattrs on the backup server; however, when i attempt to restore while preserving the ACL

Re: problem restoring via rsync when using stored ACLs (--fake-super)

2007-11-05 Thread Wayne Davison
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

Re: problem restoring via rsync when using stored ACLs (--fake-super)

2007-11-05 Thread Daniel Maher
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()