[BUG] clear ACL-s on destination
Lancashire, Pete
plancashire at ci.portland.or.us
Fri Mar 9 22:33:45 GMT 2007
good catch !!
> -----Original Message-----
> From: Stanislaw Gruszka [mailto:stf_xl at wp.pl]
> Sent: Friday, March 09, 2007 2:25 AM
> To: rsync
> Subject: Re: [BUG] clear ACL-s on destination
>
>
>
> 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%2Fd
86.html&sid=1053
--
To unsubscribe or change options:
https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
More information about the rsync
mailing list