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:
parent
2fb3658eda
commit
d303a0bee4
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user