From: Joseph Sutton Date: Thu, 5 May 2022 08:42:18 +0000 (+1200) Subject: python/xattr: Properly process system.posix_acl_access X-Git-Tag: talloc-2.3.4~226 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d303a0bee4635a950d21b72a2e27c8382a3585a9;p=thirdparty%2Fsamba.git python/xattr: Properly process system.posix_acl_access Signed-off-by: Joseph Sutton Reviewed-by: Andreas Schneider --- diff --git a/python/samba/xattr.py b/python/samba/xattr.py index 19eb67ab315..2f4813cba47 100644 --- a/python/samba/xattr.py +++ b/python/samba/xattr.py @@ -27,9 +27,9 @@ def copyattrs(frompath, topath): # Get the xattr attributes if any try: attribute = samba.xattr_native.wrap_getxattr(frompath, - xattr.XATTR_NTACL_NAME) + attr_name) samba.xattr_native.wrap_setxattr(topath, - xattr.XATTR_NTACL_NAME, + attr_name, attribute) except Exception: pass