#NEWLINE# def setUpSACL( self ) : #NEWLINE# #INDENT# sacl = win32security . ACL ( ) #NEWLINE# ( sid , _ , _ ) = win32security . LookupAccountName ( None , win32api . GetUserName ( ) ) #NEWLINE# sacl . AddAuditAccessAceEx ( win32security . ACL_REVISION_DS , ( win32security . OBJECT_INHERIT_ACE | win32security . CONTAINER_INHERIT_ACE ) , ntsecuritycon . FILE_ALL_ACCESS , sacl , 1 , 1 ) #NEWLINE# win32security . SetNamedSecurityInfo ( self . TEST_ROOT , win32security . SE_FILE_OBJECT , win32security . SACL_SECURITY_INFORMATION , None , None , None , sacl )