1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-21 18:04:06 +03:00

python/xattr: Properly process system.posix_acl_access

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andreas Schneider <asn@samba.org>
This commit is contained in:
Joseph Sutton 2022-05-05 20:42:18 +12:00 committed by Andreas Schneider
parent 2fb3658eda
commit d303a0bee4

View File

@ -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