On 29/06/2006, at 2:49 PM, Jordan K. Hubbard wrote:
Actually attempting to test this just now (under 10.4.6)
consistently leads to a rsync EXC_BAD_ACCESS crash in
acl_from_text and copyfile. Basically this seems to occur anytime
I try to rsync a file with both and ACL and EA.
If you can send me your data as an attachment, or file a radar and
attach the data to it, I'll see that it's looked at. It shouldn't
crash, obviously.
- Jordan
If you want a couple more things to look into that are broken try
these two:
a) If chflags +uchg is set on a file copyfile() will replicate this
onto rsync's temporary ._* files, which rsync is then unable to
delete, and are left behind in /tmp.
and
b) When acl's are disabled for a filesystem (sudo fsaclctl -p / -d)
the following code works. With acl's enabled (sudo fsaclctl -p / -e)
it fails. The difference is the behaviour of mktemp(3), without
ACL's it will create a temporary file, with ACL's enabled it doesn't,
a situation that copyfile() seems unable to handle. If you were to
use mkstemp(3) instead this problem does not occur.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-dev/email@hidden