Steve Simmons
2007-Aug-30 22:49 UTC
xattr version generates 'wrong write used in receiver'
Applying the xattr and acl patch to 2.6.9, running ./prepare-source and config with ./configure --enable-xattr-support results in a version which fails to transfer with the error msg 'wrong write used in receiver' and complaints about protocol mismatch. I see there's a patch for a similar problem when SUPPORT_ACLS is defined; anybody done one for --xattrs? No, I'm not using --acls. Using i386 up-to-date OSX on both sides.
Matt McCutchen
2007-Aug-30 22:56 UTC
xattr version generates 'wrong write used in receiver'
On 8/30/07, Steve Simmons <scs@umich.edu> wrote:> Applying the xattr and acl patch to 2.6.9, running ./prepare-source > and config with > ./configure --enable-xattr-support > results in a version which fails to transfer with the error msg > 'wrong write used in receiver' and complaints about protocol > mismatch. I see there's a patch for a similar problem when > SUPPORT_ACLS is defined; anybody done one for --xattrs?http://lists.samba.org/archive/rsync/2006-November/016710.html Matt
Steve Simmons
2007-Aug-30 22:57 UTC
xattr version generates 'wrong write used in receiver'
On Aug 30, 2007, at 6:43 PM, Steve Simmons wrote:> Applying the xattr and acl patch to 2.6.9, running ./prepare-source > and config with > ./configure --enable-xattr-support > results in a version which fails to transfer with the error msg > 'wrong write used in receiver' and complaints about protocol > mismatch. I see there's a patch for a similar problem when > SUPPORT_ACLS is defined; anybody done one for --xattrs? No, I'm not > using --acls. Using i386 up-to-date OSX on both sides.FYI, just blindly applying the same change (adding ' && f >= 0' to the test in the if clause) for lines that correspond to the acl patch from December seems to work fine - changed attributed are propogated correctly. Steve
Reasonably Related Threads
- Internal error: wrong write used in receiver.
- [PATCH] xattrs not set on locked files that already exist on target
- Xattr on FreeBSD ... Good Luck ?
- Getting "Unable to set XATTR" on libvirt 5.6.0 inside containers
- [PATCH v7 6/6] evm: Support multiple LSMs providing an xattr