[Samba] SYSVOL ACL errors after rsync replication

Miguel Medalha medalist at sapo.pt
Sun Oct 9 18:21:27 UTC 2022


> (...) What happens is that if you use rsync to synchronize sysvol, you cannot use -AX in the same command, otherwise the extended attributes holding the Posix ACLs are erased. 
> On further searching, I found a report relating this to rsyncing from EXT4 to XFZ, which coincidentally was my case.

> rsync -AX as root between ext4 and xfs can drop ACLs on the target
> https://github.com/WayneD/rsync/issues/301

> I will investigate further, by trying rsync with -AX between two XFS filesystems.

I tested rsync sysvol synchronization with -AX parameters from XFS to XFS and from XFS to ZFS. The problem only occurs when EXT4 is the source filesystem.





More information about the samba mailing list