Univention Bugzilla – Attachment 11230 Details for
Bug 57529
Rsync files are missing the ACL's after successfully sync - Filesystem xfs to ext4
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
bug57529-xfs-rsync-xattr.patch
bug57529-xfs-rsync-xattr.patch (text/plain), 1.24 KB, created by
Mirac Erdemiroglu
on 2024-08-28 12:53:36 CEST
(
hide
)
Description:
bug57529-xfs-rsync-xattr.patch
Filename:
MIME Type:
Creator:
Mirac Erdemiroglu
Created:
2024-08-28 12:53:36 CEST
Size:
1.24 KB
patch
obsolete
>## Anwenden mit: patch -p0 -d / < bug57529-xfs-rsync-xattr.patch > >diff --git /usr/share/univention-samba4/scripts/sysvol-sync.sh.orig /usr/share/univention-samba4/scripts/sysvol-sync.sh >index 0a10921fb4..1791d8241a 100644 >--- /usr/share/univention-samba4/scripts/sysvol-sync.sh.orig >+++ /usr/share/univention-samba4/scripts/sysvol-sync.sh >@@ -252,7 +252,7 @@ sync_from_active_downstream_DCs() { > ## check if downstream s4dc has changes: > stderr_log_debug "[$log_prefix] rsync check for changes on downstream DC" > >- rsync_options=(-aAX --delete --delete-excluded \ >+ rsync_options=(-aAX --filter='-x! security.NTACL' --delete --delete-excluded --filter='-xr! security.NTACL' \ > --exclude='scripts/user/.*.vbs.[[:alnum:]][[:alnum:]][[:alnum:]][[:alnum:]][[:alnum:]][[:alnum:]]' \ > ) > >@@ -380,9 +380,9 @@ if [ ! $? -eq 1 ]; then > fi > > if [ "$1" = '--overwrite-local' ]; then >- default_rsync_options=("-aAX") >+ default_rsync_options=("-aAX" --filter='-x! security.NTACL') > else >- default_rsync_options=("-auAX" "--dirs-update") >+ default_rsync_options=("-auAX" --filter='-x! security.NTACL' "--dirs-update") > fi > > touch "$SYSVOL_LOCKFILE"
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 57529
: 11230