Re: [python-win32] Removing inheritance

2014-01-18 Thread Joseph L. Casale
> You can call win32security.SetNamedSecurityInfo with > PROTECTED_DACL_SECURITY_INFORMATION > to prevent inheritance. Thanks Roger. jlc ___ python-win32 mailing list python-win32@python.org https://mail.python.org/mailman/listinfo/python-win32

Re: [python-win32] Removing inheritance

2014-01-17 Thread Roger Upole
You can call win32security.SetNamedSecurityInfo with PROTECTED_DACL_SECURITY_INFORMATION to prevent inheritance. Roger "Joseph L. Casale" wrote in message news:cc848ab27fe14b629765c07002547...@exch.activenetwerx.com... > How does one accomplish the effect of the SetAccessRuleProtection cal

[python-win32] Removing inheritance

2014-01-16 Thread Joseph L. Casale
How does one accomplish the effect of the SetAccessRuleProtection call? I am trying to take an existing DACL and remove inheritance so parent changes are not inherited unless the child objects are reset. I can iterate a dacl and remove an inherited ace which is in my opinion technically invalid