[BUG] clear ACL-s on destination
Stanisław Gruszka
stf_xl at wp.pl
Fri Mar 9 10:25:16 GMT 2007
Dnia 9-03-2007 o godz. 8:30 Stanisław Gruszka napisał(a):
>
> Dnia 8-03-2007 o godz. 15:00 Stanisław Gruszka napisał(a):
> > Destroy ACL-s on destination when no ACL-s differens between
> > source and destination.
I found it, function rsync_xal_set() remove system.posix_acl_access xattr which internally contains ACL-s.
In rsync_xal_set() should be something like that:
/* Remove any extraneous names, don't touch system xattr's. */
for (name = namebuf; list_len > 0; name += name_len) {
name_len = strlen(name) + 1;
list_len -= name_len;
for (i = 0; i < xalp->count; i++) {
if (strcmp(name, rxas[i].name) == 0 ||
strncmp(name, "system.", 7) == 0)
break;
}
--
Stanislaw Gruszka
----------------------------------------------------
Castingi Elite Model Look. Już 17 i 18 marca w Twoim mieście.
Nie przegap szansy! Więcej informacji:
http://klik.wp.pl/?adr=http%3A%2F%2Fadv.reklama.wp.pl%2Fas%2Fd86.html&sid=1053
More information about the rsync
mailing list