[python-win32] Re: Changing Windows NT File Permissions
Roger Upole
rwupole at msn.com
Sat Jul 17 00:56:58 CEST 2004
The value you need is win32security.DACL_SECURITY_INFORMATION.
Other possible values are SACL_SECURITY_INFORMATION, OWNER_SECURITY_INFORMATION,
or GROUP_SECURITY_INFORMATION. (can also be a bitwise or combination of any of them)
It threw an error when you passed it 1 because 1 is OWNER_SECURITY_INFORMATION, and you
passed it a security descriptor without an owner set. And 0 doesn't specify that *any* info should be set.
Roger
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/python-win32/attachments/20040716/1186363b/attachment.html
More information about the Python-win32
mailing list