python/ntacls: we only need security.SEC_STD_READ_CONTROL in order to get the ACL
[metze/samba/wip.git] / python / samba / ntacls.py
index 5bf646caf9f1704bcb0ab7ff069ee1097e6e4b3b..82d950fbbc9aa2e61e4cc1be5cc478156e5fc01b 100644 (file)
@@ -49,7 +49,7 @@ SECURITY_SECINFO_FLAGS = security.SECINFO_OWNER | \
 
 # SEC_FLAG_SYSTEM_SECURITY is required otherwise get Access Denied
 SECURITY_SEC_FLAGS = security.SEC_FLAG_SYSTEM_SECURITY | \
-                     security.SEC_FLAG_MAXIMUM_ALLOWED
+                     security.SEC_STD_READ_CONTROL
 
 
 class XattrBackendError(Exception):