PEP262 - database of installed packages

A.M. Kuchling akuchlin at crystal.mems-exchange.org
Tue Mar 26 10:03:27 EST 2002


In article <eujv9uonmvb9091u87it6438oqoev3cdqh at 4ax.com>, Wolfgang Strobl wrote:
> ownerdescriptor=GetFileSecurity(filename,OWNER_SECURITY_INFORMATION)
> ...     owner=ownerdescriptor.GetSecurityDescriptorOwner()
> ...     ownername=LookupAccountSid(None,owner)
> ...     return ownername[0]

That wouldn't be hard to support on Windows.  The question for Windows
developers is simply: is it useful to support this?  I'll defer to
Thomas or Tim on that point.

--amk                                                             (www.amk.ca)
  "Ace, have you no sense of occasion?"
  "No."
    -- The Doctor and Ace, in "Battlefield"



More information about the Python-list mailing list