removed inheritance and drop all inherited
This commit is contained in:
parent
5a964bafe6
commit
b1d0662ec0
@ -64,6 +64,7 @@ if($PSBoundParameters.ContainsKey("ProjectName")){
|
||||
Write-Host $WriteTarget.Name
|
||||
|
||||
$FolderACL= Get-Acl -Path $folder
|
||||
$FolderACL.SetAccessRuleProtection($true,$false)
|
||||
|
||||
$rid = $ReadTarget.SID
|
||||
$wid = $WriteTarget.SID
|
||||
|
Loading…
Reference in New Issue
Block a user