Univention Bugzilla – Attachment 11153 Details for
Bug 56866
Samba Backup Failure Due to Symbolic Link Issue
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch aus dem Pastebin
file_56866.txt (text/plain), 751 bytes, created by
Christina Scheinig
on 2023-11-28 15:15:48 CET
(
hide
)
Description:
Patch aus dem Pastebin
Filename:
MIME Type:
Creator:
Christina Scheinig
Created:
2023-11-28 15:15:48 CET
Size:
751 bytes
patch
obsolete
>diff --git a/python/samba/ntacls.py b/python/samba/ntacls.py >index d2fe6ed..a3f833b 100644 >--- a/python/samba/ntacls.py >+++ b/python/samba/ntacls.py >@@ -579,6 +579,10 @@ def backup_offline(src_service_path, dest_tarfile_path, smb_conf_path, dom_sid): > > for filename in filenames: > src = os.path.join(dirpath, filename) > dst = os.path.join(dst_dirpath, filename) >+ if os.path.islink(src): >+ linkto = os.readlink(src) >+ os.symlink(linkto, dst) >+ continue > # create an empty file with metadata > smbd.create_file(dst, session_info, service) > ntacl_sddl_str = ntacls_helper.getntacl(src, session_info, as_sddl=True)
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 56866
: 11153