Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

SetAuditRuleProtection($False, $True) and Set-ACL

$
0
0

$acl = Get-ACL ...

#do some stuff to the DACL

#mark SACL to inherit audit

$acl.SetAuditRuleProtection($False, $True)

While this sequence of events will not break SACL inheritance, it will not restore SACL inheritance as expected, either. Is this a bug? I see this behavior on local and UNC paths.


Viewing all articles
Browse latest Browse all 21975

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>