le dahut pdpdwbmlapostenet hello im using code mypdc mypdc dusers domnamedomainusers obj cmylogfilelog try domainusers_sid wseclookupaccountnamemypdc dusers0 info wsecdacl_security_information sd wsecgetfilesecurityobj info acl sdgetsecuritydescriptordacl acladdaccessallowedaceexwsecacl_revision_ds wsecobject_inherit_ace wffile_all_access domainusers_sid maj du security descriptor sdsetsecuritydescriptordacl1 acl 0 application sur lobjet wsecsetfilesecurityobj info sd except exception e loggingerroracls error sobj dusers e loggingdebugerror stracebackprint_exc logon time occur wseclookupaccountname fails except statement called exception thrown well get file logonexelog read traceback finally tracebackprint_exc returns none produce traceback instead really except _______________________________________________ pythonwin32 mailing list kpitckaew45pythonorg httpmailpythonorgmailmanlistinfopythonwin32 wed 06 aug 2008 085544 0100 pythonwin32 error 1789 logon except really called