[python-win32] Getting file security access info on network

2007-08-07 Thread Thibault Ketterer
it works for me with this code import win32security,pywintypes try: filo = win32security.GetFileSecurity(path, win32security.OWNER_SECURITY_INFORMATION) sid = filo.GetSecurityDescriptorOwner() account, domain, typeco

[python-win32] Getting file security access info on network

2005-05-24 Thread Peter McTaggart
Hi, I'm trying to write a little python prog to list the groups and their members that have access to a directory or file on a network device. I can get info for a local file (on C drive) but this doesn't seem to work on a network drive: I get teh following error ---